Skip to content

Commit

Permalink
insertの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Esurio committed Sep 10, 2024
1 parent e283931 commit 6433bc3
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 as any,
searchableBy: data.searchableBy ? data.searchableBy as any : 'public',

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

0 comments on commit 6433bc3

Please sign in to comment.