lint
This commit is contained in:
parent
408142647c
commit
4a64280a7c
306 changed files with 306 additions and 0 deletions
|
@ -33,6 +33,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
await removePinned(user, ps.noteId).catch(e => {
|
||||
if (e.id === 'b302d4cf-c050-400a-bbb3-be208681f40c') throw new ApiError(meta.errors.noSuchNote);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue