backend: Insert moderation log when copying emoji
This commit is contained in:
parent
e500b67b0b
commit
68c3770741
|
@ -86,6 +86,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
driveFile,
|
||||
});
|
||||
|
||||
this.moderationLogService.insertModerationLog(me, 'copyEmoji', {
|
||||
emojiId: emoji.id,
|
||||
});
|
||||
|
||||
return {
|
||||
id: copied.id,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue