backend: Insert moderation log when copying emoji

This commit is contained in:
ltlapy 2023-02-19 01:01:30 +09:00
parent e500b67b0b
commit 68c3770741

View file

@ -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,
};