Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
benbierens committed Sep 24, 2024
1 parent 2a61dad commit f801cb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ProjectPlugins/CodexPlugin/Mapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ public StorageAvailability[] Map(ICollection<SalesAvailabilityREAD> availabiliti

public StorageAvailability Map(SalesAvailabilityREAD availability)
{
var freeSize = (string)availability.AdditionalProperties["freeSize"];

return new StorageAvailability
(
ToByteSize(availability.TotalSize),
Expand All @@ -81,7 +79,7 @@ public StorageAvailability Map(SalesAvailabilityREAD availability)
)
{
Id = availability.Id,
FreeSpace = ToByteSize(freeSize)
FreeSpace = ToByteSize(availability.FreeSize),
};
}

Expand Down

0 comments on commit f801cb0

Please sign in to comment.