Renames StoredDataUrls to Images

This commit is contained in:
Jonathan Bourdon
2024-08-06 01:04:15 -04:00
parent db740c161c
commit d370c2a151
12 changed files with 33 additions and 737 deletions

View File

@@ -27,7 +27,7 @@ public class ChangeLogoHandler(
{
var creator = await context
.Creators
.Include(c => c.StoredDataUrls)
.Include(c => c.Images)
.SingleOrDefaultAsync(
c => c.Id == request.CreatorId,
cancellationToken: ct);
@@ -46,7 +46,7 @@ public class ChangeLogoHandler(
request.File.ContentType,
ct);
creator.StoredDataUrls.ProfilePictureUrl = blobUrl;
creator.Images.Logo = blobUrl;
await context.SaveChangesAsync(ct);