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.
1 parent 85d5da3 commit 21be65aCopy full SHA for 21be65a
src/reports/topgear/topgear-reports.controller.ts
@@ -34,6 +34,18 @@ export class TopgearReportsController {
34
@Scopes(AppScopes.AllReports, AppScopes.TopgearChallengeStatsByUser)
35
@ApiBearerAuth()
36
@ApiOperation({ summary: "Get challenge stats per user" })
37
+ @ApiQuery({
38
+ name: "start_date",
39
+ required: false,
40
+ type: Date,
41
+ description: "Start date",
42
+ })
43
44
+ name: "end_date",
45
46
47
+ description: "End date",
48
49
async getChallengeStatsByUser(
50
@Query("start_date") startDate?: string,
51
@Query("end_date") endDate?: string,
0 commit comments