Browse Source

Destructure query parameters in controllers

pull/7505/head
Thomas Kaul 4 weeks ago
parent
commit
a26839e385
  1. 2
      apps/api/src/app/endpoints/benchmarks/benchmarks.controller.ts

2
apps/api/src/app/endpoints/benchmarks/benchmarks.controller.ts

@ -145,13 +145,13 @@ export class BenchmarksController {
return this.benchmarksService.getMarketDataForUser({ return this.benchmarksService.getMarketDataForUser({
dataSource, dataSource,
dateRange: range,
endDate, endDate,
filters, filters,
impersonationId, impersonationId,
startDate, startDate,
symbol, symbol,
withExcludedAccounts, withExcludedAccounts,
dateRange: range,
user: this.request.user user: this.request.user
}); });
} }

Loading…
Cancel
Save