diff --git a/alfa-client/libs/tech-shared/src/lib/resource/list-resource.service.ts b/alfa-client/libs/tech-shared/src/lib/resource/list-resource.service.ts index ae32eafd971d4baf014b3476f557f07bdaf5636a..c98b96a0bf2e7a3a7d0a886e33ee8aa8de416a35 100644 --- a/alfa-client/libs/tech-shared/src/lib/resource/list-resource.service.ts +++ b/alfa-client/libs/tech-shared/src/lib/resource/list-resource.service.ts @@ -102,8 +102,8 @@ export class ResourceListService<B extends Resource, T extends ListResource, I e this.verifyBeforeCreation(); return this.repository.createResource(this.buildCreateResourceData(toCreate, this.config.createLinkRel)).pipe( map((listItemResource: I) => createStateResource(listItemResource)), - startWith(createEmptyStateResource<I>(true)), catchError((error: ProblemDetail) => this._handleError(error)), + startWith(createEmptyStateResource<I>(true)), ); }