BUG - Bypass current issue with ContainerNames.Creators
This commit is contained in:
@@ -38,8 +38,9 @@ public class ChangeBannerHandler(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: this upload should be done to the Creators container
|
||||||
var blobUrl = await blobStorage.UploadFileAsync(
|
var blobUrl = await blobStorage.UploadFileAsync(
|
||||||
ContainerNames.Creators,
|
ContainerNames.Users,
|
||||||
$"{request.CreatorId}/{SubDirectoryNames.Profile}/{CommonFileNames.BannerPicture}",
|
$"{request.CreatorId}/{SubDirectoryNames.Profile}/{CommonFileNames.BannerPicture}",
|
||||||
request.File.OpenReadStream(),
|
request.File.OpenReadStream(),
|
||||||
request.File.ContentType,
|
request.File.ContentType,
|
||||||
|
|||||||
@@ -38,8 +38,9 @@ public class ChangeLogoHandler(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: this upload should be done to the Creators container
|
||||||
var blobUrl = await blobStorage.UploadFileAsync(
|
var blobUrl = await blobStorage.UploadFileAsync(
|
||||||
ContainerNames.Creators,
|
ContainerNames.Users,
|
||||||
$"{request.CreatorId}/{SubDirectoryNames.Profile}/{CommonFileNames.ProfilePicture}",
|
$"{request.CreatorId}/{SubDirectoryNames.Profile}/{CommonFileNames.ProfilePicture}",
|
||||||
request.File.OpenReadStream(),
|
request.File.OpenReadStream(),
|
||||||
request.File.ContentType,
|
request.File.ContentType,
|
||||||
|
|||||||
Reference in New Issue
Block a user