mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 18:49:42 +02:00
s3: return 0 on failure instead of null when getting attachment size
This commit is contained in:
1 parent
45a8f056b9
commit
6e192e1765
2 files changed
+4
-4
No files matched your search
@@ -30,7 +30,7 @@ namespace Notesnook.API.Interfaces
|
||||
{
|
||||
Task DeleteObjectAsync(string userId, string name);
|
||||
Task DeleteDirectoryAsync(string userId);
|
||||
Task<long?> GetObjectSizeAsync(string userId, string name);
|
||||
Task<long> GetObjectSizeAsync(string userId, string name);
|
||||
string GetUploadObjectUrl(string userId, string name);
|
||||
string GetDownloadObjectUrl(string userId, string name);
|
||||
Task<MultipartUploadMeta> StartMultipartUploadAsync(string userId, string name, int parts, string uploadId = null);
|
||||
|
||||
Reference in new issue
Block a user