Skip to content

Commit

Permalink
unnecessary .ToString removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrch committed Oct 31, 2024
1 parent 0518fd2 commit 7bd3a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KVA/Migration.Tool.Source/Services/AssetFacade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public async Task<ContentItemSimplifiedModel> FromMediaFile(IMediaFile mediaFile
languageData.AddRange(contentLanguageNames.Select(contentLanguageName => new ContentItemLanguageData
{
LanguageName = contentLanguageName,
DisplayName = $"{mediaFile.FileName}",
DisplayName = mediaFile.FileName,
UserGuid = createdByUser?.UserGUID,
VersionStatus = VersionStatus.Published,
ContentItemData = new Dictionary<string, object?>
Expand Down Expand Up @@ -164,7 +164,7 @@ public async Task<ContentItemSimplifiedModel> FromAttachment(ICmsAttachment atta
var contentLanguageData = new ContentItemLanguageData
{
LanguageName = contentLanguageName,
DisplayName = $"{attachment.AttachmentName}",
DisplayName = attachment.AttachmentName,
UserGuid = null,
VersionStatus = VersionStatus.Published,
ContentItemData = new Dictionary<string, object?>
Expand Down

0 comments on commit 7bd3a8e

Please sign in to comment.