Skip to content

Conversation

@Betree
Copy link
Member

@Betree Betree commented Jan 7, 2026

No description provided.

@Betree Betree self-assigned this Jan 7, 2026
@Betree Betree force-pushed the feat/suspend-personal-token branch 3 times, most recently from ead83f1 to 7bf7adc Compare January 7, 2026 09:37
@Betree Betree force-pushed the feat/suspend-personal-token branch from 7bf7adc to 21a7434 Compare January 7, 2026 09:37
Comment on lines +302 to +303
} else if (Array.isArray(req.query.CollectiveId)) {
return next(new errors.ValidationFailed(undefined, 'CollectiveId', 'Please provide a single CollectiveId'));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typescript wouldn't be happy without this one, as req.query.CollectiveId can be an array when providing multiple query parameters. Good typescript 🐶

/**
* Status endpoint
*/
const statusHandler = (req: express.Request, res: express.Response) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A handy route for tests, can be useful to quickly check API status too

@Betree Betree marked this pull request as ready for review January 7, 2026 09:38
@Betree Betree merged commit 4593ae8 into main Jan 9, 2026
20 checks passed
@Betree Betree deleted the feat/suspend-personal-token branch January 9, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants