diff --git a/angular/openapi.yaml b/angular/openapi.yaml index 66f2115..ce7dc3b 100644 --- a/angular/openapi.yaml +++ b/angular/openapi.yaml @@ -4571,7 +4571,6 @@ components: format: iri-reference example: 'https://example.com/' pilotageReference: - readOnly: true type: - string - 'null' @@ -4664,7 +4663,6 @@ components: format: iri-reference example: 'https://example.com/' pilotageReference: - readOnly: true type: - string - 'null' diff --git a/angular/src/app/_helpers/error.interceptor.ts b/angular/src/app/_helpers/error.interceptor.ts index d914796..eb44170 100644 --- a/angular/src/app/_helpers/error.interceptor.ts +++ b/angular/src/app/_helpers/error.interceptor.ts @@ -28,7 +28,7 @@ export class ErrorInterceptor implements HttpInterceptor { this.accountService.logout(); } console.log(err); - this.alertService.error(err.message + ' - ' + err.error); + this.alertService.error(err.error.detail); const error = err.error?.message || err.statusText; return throwError(() => error); diff --git a/angular/src/app/_views/trip/trip-form/trip-form.component.html b/angular/src/app/_views/trip/trip-form/trip-form.component.html index 092074b..8ac7fbb 100644 --- a/angular/src/app/_views/trip/trip-form/trip-form.component.html +++ b/angular/src/app/_views/trip/trip-form/trip-form.component.html @@ -11,6 +11,10 @@