wip #6441
This commit is contained in:
parent
41b491fa7c
commit
c4c20bee7c
28 changed files with 44 additions and 40 deletions
|
|
@ -37,7 +37,7 @@ export async function addPinned(user: User, noteId: Note['id']) {
|
|||
throw new IdentifiableError('23f0cf4e-59a3-4276-a91d-61a5891c1514', 'That note has already been pinned.');
|
||||
}
|
||||
|
||||
await UserNotePinings.save({
|
||||
await UserNotePinings.insert({
|
||||
id: genId(),
|
||||
createdAt: new Date(),
|
||||
userId: user.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue