s3: use internal upload object url for uploading files

This commit is contained in:
Abdullah Atta
2025-10-09 14:16:59 +05:00
parent 1ecd8adee1
commit 131df3df04
3 changed files with 7 additions and 1 deletions

View File

@@ -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();