diff --git a/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts b/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts index b00df57043..dd21438823 100644 --- a/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts @@ -72,7 +72,7 @@ export default class extends Endpoint { // eslint- private idService: IdService, ) { super(meta, paramDef, async (ps, me) => { - if (!me?.isRoot) throw new Error('access denied'); + if (!me?.isAdmin) throw new Error('access denied'); //#region Construct query const followingQuery = this.followingsRepository.createQueryBuilder('following')