fix(backend): type(schema) of reactionAcceptance was wrong (#14317)

This commit is contained in:
Sayamame-beans
2024-07-30 12:32:03 +09:00
committed by GitHub
parent 1a79f0dc2a
commit b44313fe3c
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ export const packedNoteSchema = {
reactionAcceptance: {
type: 'string',
optional: false, nullable: true,
enum: ['likeOnly', 'likeOnlyForRemote', 'nonSensitiveOnly', 'nonSensitiveOnlyForLocalLikeOnlyForRemote'],
enum: ['likeOnly', 'likeOnlyForRemote', 'nonSensitiveOnly', 'nonSensitiveOnlyForLocalLikeOnlyForRemote', null],
},
reactionEmojis: {
type: 'object',