s3: use internal upload object url for uploading files

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

No files matched your search

+5
View File
@@ -160,6 +160,11 @@ namespace Notesnook.API.Services
return this.GetPresignedURL(userId, name, HttpVerb.PUT);
}
public string? GetInternalUploadObjectUrl(string userId, string name)
{
return this.GetPresignedURL(userId, name, HttpVerb.PUT, S3ClientMode.INTERNAL);
}
public async Task<string?> GetDownloadObjectUrl(string userId, string name)
{
// var subscriptionService = await WampServers.SubscriptionServer.GetServiceAsync<IUserSubscriptionService>(SubscriptionServerTopics.UserSubscriptionServiceTopic);