mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-03-31 00:29:54 +02:00
s3: use internal upload object url for uploading files
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Notesnook.API.Controllers
|
||||
return BadRequest(new { error = "Storage limit exceeded." });
|
||||
}
|
||||
|
||||
var url = S3Service.GetUploadObjectUrl(userId, name);
|
||||
var url = S3Service.GetInternalUploadObjectUrl(userId, name);
|
||||
if (url == null) return BadRequest(new { error = "Could not create signed url." });
|
||||
|
||||
var httpClient = new HttpClient();
|
||||
|
||||
Reference in New Issue
Block a user