diff --git a/src/frontend/js/api/joanie/gen/services/ProductsService.ts b/src/frontend/js/api/joanie/gen/services/ProductsService.ts index 050b90f0c4..4d85fd8395 100644 --- a/src/frontend/js/api/joanie/gen/services/ProductsService.ts +++ b/src/frontend/js/api/joanie/gen/services/ProductsService.ts @@ -13,11 +13,13 @@ export class ProductsService { /** * API ViewSet for all interactions with products. * @param id primary key for the record as UUID + * @param course * @returns Product * @throws ApiError */ public productsRead( id: string, + course?: string, ): CancelablePromise { return this.httpRequest.request({ method: 'GET', @@ -25,6 +27,9 @@ export class ProductsService { path: { 'id': id, }, + query: { + 'course': course, + }, }); }