Ensure creator related blobs are stored in the creator container

This commit is contained in:
2024-09-04 22:08:02 -04:00
parent 1fc6ddaf8d
commit 6dc83ff9bd
7 changed files with 7 additions and 10 deletions

View File

@@ -43,9 +43,8 @@ public class ChangeBannerHandler(
return;
}
// TODO: this upload should be done to the Creators container
var blobUrl = await blobStorage.UploadFileAsync(
ContainerNames.Users,
ContainerNames.Creators,
$"{request.CreatorId}/{SubDirectoryNames.Profile}/{CommonFileNames.BannerPicture}",
request.File.OpenReadStream(),
request.File.ContentType,