diff --git a/client/src/app/services/prestashop.serivce.ts b/client/src/app/services/prestashop.serivce.ts index 7ed7b63..a36b6da 100644 --- a/client/src/app/services/prestashop.serivce.ts +++ b/client/src/app/services/prestashop.serivce.ts @@ -60,7 +60,7 @@ export class PrestashopService { `${this.adminBase}/${resource}`, { name } ) - .pipe(map(res => (res && typeof res.id === 'number' ? res.id : null))); + .pipe(map(res => (res && true ? res.id : null))); } /**