diff --git a/kibicara-frontend/src/app/core/api/api/admin.service.ts b/kibicara-frontend/src/app/core/api/api/admin.service.ts index d055586..297bcdb 100644 --- a/kibicara-frontend/src/app/core/api/api/admin.service.ts +++ b/kibicara-frontend/src/app/core/api/api/admin.service.ts @@ -155,9 +155,9 @@ export class AdminService { * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable; - public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable>; - public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable>; + public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable; + public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable>; + public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable>; public confirmReset(resetToken: string, bodyPassword: BodyPassword, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable { if (resetToken === null || resetToken === undefined) { throw new Error('Required parameter resetToken was null or undefined when calling confirmReset.'); @@ -195,7 +195,7 @@ export class AdminService { responseType = 'text'; } - return this.httpClient.post(`${this.configuration.basePath}/api/admin/reset/${encodeURIComponent(String(resetToken))}`, + return this.httpClient.post(`${this.configuration.basePath}/api/admin/reset/${encodeURIComponent(String(resetToken))}`, bodyPassword, { responseType: responseType, @@ -492,7 +492,7 @@ export class AdminService { responseType = 'text'; } - return this.httpClient.post(`${this.configuration.basePath}/api/admin/reset`, + return this.httpClient.post(`${this.configuration.basePath}/api/admin/reset/`, kibicaraWebapiAdminBodyEmail, { responseType: responseType,