forked from FoundKeyGang/FoundKey
backend: fix lint error in remove-note.ts
This commit is contained in:
parent
f97e990ed3
commit
7ec8729d90
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue