This commit is contained in:
syuilo 2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View file

@ -17,28 +17,28 @@ export const meta = {
limit: {
duration: ms('1hour'),
max: 300,
minInterval: ms('1sec')
minInterval: ms('1sec'),
},
params: {
noteId: {
validator: $.type(ID),
}
},
},
errors: {
noSuchNote: {
message: 'No such note.',
code: 'NO_SUCH_NOTE',
id: '490be23f-8c1f-4796-819f-94cb4f9d1630'
id: '490be23f-8c1f-4796-819f-94cb4f9d1630',
},
accessDenied: {
message: 'Access denied.',
code: 'ACCESS_DENIED',
id: 'fe8d7103-0ea8-4ec3-814d-f8b401dc69e9'
}
}
id: 'fe8d7103-0ea8-4ec3-814d-f8b401dc69e9',
},
},
};
export default define(meta, async (ps, user) => {