diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-21 21:27:09 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-21 21:27:09 +0900 |
| commit | c4c20bee7c58ea7330dbc890b9564bd100ac6e25 (patch) | |
| tree | 2f73ce46b5f0abe1417dad110ffc23c53155a8fe /src/server/api/endpoints/clips/add-note.ts | |
| parent | refactor: Use Set (diff) | |
| download | sharkey-c4c20bee7c58ea7330dbc890b9564bd100ac6e25.tar.gz sharkey-c4c20bee7c58ea7330dbc890b9564bd100ac6e25.tar.bz2 sharkey-c4c20bee7c58ea7330dbc890b9564bd100ac6e25.zip | |
wip #6441
Diffstat (limited to 'src/server/api/endpoints/clips/add-note.ts')
| -rw-r--r-- | src/server/api/endpoints/clips/add-note.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/clips/add-note.ts b/src/server/api/endpoints/clips/add-note.ts index 4f5cc649e3..ee6a117b2d 100644 --- a/src/server/api/endpoints/clips/add-note.ts +++ b/src/server/api/endpoints/clips/add-note.ts @@ -68,7 +68,7 @@ export default define(meta, async (ps, user) => { throw new ApiError(meta.errors.alreadyClipped); } - await ClipNotes.save({ + await ClipNotes.insert({ id: genId(), noteId: note.id, clipId: clip.id |