diff --git a/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts b/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts index 9870f7082eb0..ffcb5b34e8d6 100644 --- a/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts +++ b/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts @@ -88,6 +88,7 @@ export default class extends Endpoint { // eslint- text: null, fileIds: [], hasPoll: false, + visibility: 'public', }, { visibility: 'home' }); }); @@ -97,6 +98,7 @@ export default class extends Endpoint { // eslint- .andWhere('note.text IS NULL') .andWhere('note.fileIds = \'{}\'') .andWhere('note.hasPoll = false') + .andWhere('note.visibility = \'home\'') .getMany(); // remove from funout local timeline