backend: fix lint error in remove-note.ts

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

View file

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