backend: fix lint error in remove-note.ts
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Norm 2022-10-21 17:52:15 -04:00
parent f97e990ed3
commit 7ec8729d90
Signed by: norm
GPG key ID: 7123E30E441E80DE

View file

@ -62,7 +62,7 @@ export default define(meta, paramDef, async (ps, user) => {
clipId: clip.id,
});
if (affected == 0) {
if (affected === 0) {
throw new ApiError(meta.errors.notClipped);
}
});