We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a53e0a8 + fa14aba commit e469dc1Copy full SHA for e469dc1
1 file changed
src/api/services/channel.service.ts
@@ -677,6 +677,14 @@ export class ChannelStartupService {
677
}
678
679
public async fetchStatusMessage(query: any) {
680
+ if (!query?.offset) {
681
+ query.offset = 50;
682
+ }
683
+
684
+ if (!query?.page) {
685
+ query.page = 1;
686
687
688
return await this.prismaRepository.messageUpdate.findMany({
689
where: {
690
instanceId: this.instanceId,
0 commit comments