diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/update.ts b/packages/backend/src/server/api/endpoints/admin/emoji/update.ts index d2d0bbc9b1..ce250760df 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/update.ts @@ -65,7 +65,7 @@ export const paramDef = { } }, Request: { type: 'boolean' }, }, - required: ['id', 'name', 'draft', 'aliases'], + required: ['id', 'name', 'aliases'], } as const; @Injectable() @@ -102,7 +102,7 @@ export default class extends Endpoint { // eslint- isSensitive: ps.isSensitive, localOnly: ps.localOnly, roleIdsThatCanBeUsedThisEmojiAsReaction: ps.roleIdsThatCanBeUsedThisEmojiAsReaction, - draft: ps.draft, + draft: false, }, me);} else { const file = await this.driveFileEntityService.getFromUrl(emoji.originalUrl); if (file === null) throw new ApiError(meta.errors.noSuchFile);