fix: return getfromdb when FanoutTimeline is not enabled

This commit is contained in:
Lhc_fl 2024-10-23 23:13:57 +08:00
parent 60be692a0a
commit 67f977f4ff
No known key found for this signature in database
GPG Key ID: 3A10435B21EDC6AA

View File

@ -112,7 +112,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
this.activeUsersChart.read(me);
await this.noteEntityService.packMany(timeline, me);
return await this.noteEntityService.packMany(timeline, me);
}
const timeline = await this.fanoutTimelineEndpointService.timeline({