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

@ -14,17 +14,17 @@ export const meta = {
params: {
id: {
validator: $.type(ID)
}
validator: $.type(ID),
},
},
errors: {
noSuchEmoji: {
message: 'No such emoji.',
code: 'NO_SUCH_EMOJI',
id: 'be83669b-773a-44b7-b1f8-e5e5170ac3c2'
}
}
id: 'be83669b-773a-44b7-b1f8-e5e5170ac3c2',
},
},
};
export default define(meta, async (ps, me) => {
@ -37,6 +37,6 @@ export default define(meta, async (ps, me) => {
await getConnection().queryResultCache!.remove(['meta_emojis']);
insertModerationLog(me, 'removeEmoji', {
emoji: emoji
emoji: emoji,
});
});