Skip to content

Commit

Permalink
fix?: searchableByはundefinedではないものとする
Browse files Browse the repository at this point in the history
  • Loading branch information
1673beta committed Sep 9, 2024
1 parent 14154b3 commit a61f675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class NoteCreateService implements OnApplicationShutdown {

attachedFileTypes: data.files ? data.files.map(file => file.type) : [],

searchableBy: data.searchableBy ?? undefined as any,
searchableBy: data.searchableBy as any,

// 以下非正規化データ
replyUserId: data.reply ? data.reply.userId : null,
Expand Down

0 comments on commit a61f675

Please sign in to comment.