We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2475c82 + 23124d1 commit 4c53628Copy full SHA for 4c53628
src/endpoints/CoverageIntegrations/Client.ts
@@ -87,14 +87,15 @@ export function createClient(api: DeferredJobsApiClient) {
87
88
async function preview(
89
provider: CoverageEntry.Provider,
90
- options: { input: CoverageIntegration['input']; oldest?: boolean },
+ options: { input: CoverageIntegration['input']; oldest?: number; limit?: number },
91
): Promise<PreviewResponse> {
92
- const { input, oldest } = options;
+ const { input, oldest, limit } = options;
93
return api.post(`${routing.coverageIntegrationsUrl}/preview`, {
94
payload: {
95
provider,
96
input,
97
oldest,
98
+ limit,
99
},
100
});
101
}
0 commit comments