Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkvanmeerten committed Dec 11, 2024
1 parent 2e26f6b commit 2cf15a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,7 @@ app.put(
body('options.scaleDownPeriodsCount').optional().isInt({ min: 0 }).withMessage('Value must be positive'),
body('instanceType').custom(async (value) => {
if (!(await validator.supportedInstanceType(value))) {
throw new Error(
'Instance type not supported. Use jvb, jigasi, nomad, jibri, whisper or sip-jibri instead',
);
throw new Error('Instance type not supported. Use jvb, jigasi, nomad, jibri, whisper or sip-jibri instead');
}
return true;
}),
Expand Down

0 comments on commit 2cf15a0

Please sign in to comment.