|
@@ -74,7 +74,7 @@ class PatentwarningService extends CrudService {
|
|
|
}
|
|
|
const tifPaths = filePaths.filter(f => f.includes('.tif'));
|
|
|
let lastResult;
|
|
|
- if (tifPaths && tifPaths.length > 0) lastResult = this.toUploadTif(warningData, tifPaths);
|
|
|
+ if (tifPaths && tifPaths.length > 0) lastResult = await this.toUploadTif(warningData, tifPaths);
|
|
|
if (lastResult) {
|
|
|
console.log('to delete temp');
|
|
|
await this.dirDelete(`${uncompressFilePath}${fileName}`);
|