This commit is contained in:
eromano
2023-07-30 09:50:01 +02:00
parent e9113dc349
commit d0ddf25864
2 changed files with 5 additions and 5 deletions

View File

@@ -49,9 +49,9 @@ export class UploadActions {
} }
); );
uploadPromise.then(() => { await uploadPromise.then(() => {
Logger.info(`${fileName} uploaded in ${parentFolderId}`); Logger.info(`${fileName} uploaded in ${parentFolderId}`);
}) });
return uploadPromise; return uploadPromise;
} }

View File

@@ -84,11 +84,11 @@ export class IdentityService {
const postBody = {}; const postBody = {};
return this.api.performIdentityOperation(path, method, queryParams, postBody); return this.api.performIdentityOperation(path, method, queryParams, postBody);
const deletePromise = this.api.performIdentityOperation(path, method, queryParams, postBody) const deletePromise = this.api.performIdentityOperation(path, method, queryParams, postBody);
deletePromise.then(() => { await deletePromise.then(() => {
Logger.info(`user ${userId} delete`); Logger.info(`user ${userId} delete`);
}) });
return deletePromise; return deletePromise;
} }