diff options
Diffstat (limited to 'Duplicati/Library/Backend/Jottacloud/Jottacloud.cs')
-rw-r--r-- | Duplicati/Library/Backend/Jottacloud/Jottacloud.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/Library/Backend/Jottacloud/Jottacloud.cs b/Duplicati/Library/Backend/Jottacloud/Jottacloud.cs index 95dc2762f..9f297abf2 100644 --- a/Duplicati/Library/Backend/Jottacloud/Jottacloud.cs +++ b/Duplicati/Library/Backend/Jottacloud/Jottacloud.cs @@ -304,10 +304,10 @@ namespace Duplicati.Library.Backend return ToFileEntry(xFile); } - public Task PutAsync(string remotename, string filename, CancellationToken cancelToken) + public async Task PutAsync(string remotename, string filename, CancellationToken cancelToken) { using (System.IO.FileStream fs = System.IO.File.OpenRead(filename)) - return PutAsync(remotename, fs, cancelToken); + await PutAsync(remotename, fs, cancelToken); } public void Get(string remotename, string filename) |