Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #365 from beabee-communityrm/fix/limit-callout-res…
Browse files Browse the repository at this point in the history
…ponses

fix fForce load lots of responses for map
  • Loading branch information
wpf500 authored Feb 16, 2024
2 parents 552d3fc + 7753ab9 commit 47bdf3a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/api/transformers/CalloutResponseMapTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@ class CalloutResponseMapTransformer extends BaseCalloutResponseTransformer<
responseViewSchema: CalloutResponseViewSchema;
};

return await this.fetch(auth, { ...query, callout: calloutWithSchema });
return await this.fetch(auth, {
...query,
callout: calloutWithSchema,
// TODO: support pagination in frontend
limit: 2000
});
}
}

Expand Down

0 comments on commit 47bdf3a

Please sign in to comment.