mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[MIGRATION] - Ok this is really weird
This commit is contained in:
parent
9350703149
commit
65a0778352
@ -23,7 +23,6 @@ import { ApiUtil } from '../../../shared/api/api.util';
|
|||||||
import { ApiService } from '../../../shared/api/api.service';
|
import { ApiService } from '../../../shared/api/api.service';
|
||||||
|
|
||||||
export class Descriptor {
|
export class Descriptor {
|
||||||
|
|
||||||
requestApiHelper: E2eRequestApiHelper;
|
requestApiHelper: E2eRequestApiHelper;
|
||||||
endPoint = `deployment-service/v1/descriptors/`;
|
endPoint = `deployment-service/v1/descriptors/`;
|
||||||
|
|
||||||
@ -61,6 +60,7 @@ export class Descriptor {
|
|||||||
return this.requestApiHelper.delete(`${this.endPoint}${name}`);
|
return this.requestApiHelper.delete(`${this.endPoint}${name}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Logger.error(`[Descriptor] Delete descriptor ${name} failed with error: ${error.message}`);
|
Logger.error(`[Descriptor] Delete descriptor ${name} failed with error: ${error.message}`);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return ApiUtil.waitForApi(apiCall, isDescriptorDeleted, 10, 15000);
|
return ApiUtil.waitForApi(apiCall, isDescriptorDeleted, 10, 15000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user