Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 committed Nov 27, 2024
1 parent 17a3c23 commit ff31050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/backend/src/core/WebhookTestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ function toPackedNote(note: MiNote, detail = true, override?: Packed<'Note'>): P
renoteId: note.renoteId,
isHidden: false,
visibility: note.visibility,
searchableBy: note.searchableBy,
mentions: note.mentions,
visibleUserIds: note.visibleUserIds,
fileIds: note.fileIds,
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/models/json-schema/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const packedNoteSchema = {
},
searchableBy: {
type: 'string',
optional: false, nullable: false,
optional: false, nullable: true,
enum: ['public', 'private', 'followersAndReacted', 'reactedOnly'],
},
mentions: {
Expand Down

0 comments on commit ff31050

Please sign in to comment.