This commit is contained in:
Trym Lund Flogard
2021-06-05 14:00:02 +02:00
parent 2e7f2059ee
commit 7fe0b3a0b9
3 changed files with 5 additions and 1 deletions

View File

@ -178,6 +178,8 @@ export class NextcloudClient {
const timer = setTimeout(() => {}, 20_000);
await fileStreamPromise
await remoteStreamPromise
// Wait for file to be processed
await new Promise(resolve => setTimeout(resolve, 1_000));
clearTimeout(timer);
return remoteFilePath