Skip to content

Commit

Permalink
Consolidated naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceredron committed Dec 12, 2023
1 parent 340f68a commit a8c67ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Altinn.Broker/Controllers/ServiceOwnerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task<ActionResult<ServiceOwnerOverviewExt>> GetServiceOwner(string
{
Name = serviceOwner.Name,
DeploymentStatus = (DeploymentStatusExt)deploymentStatus,
DeletionTime = serviceOwner.FileTimeToLive
FileTimeToLive = serviceOwner.FileTimeToLive
};
}
}
Expand Down
1 change: 1 addition & 0 deletions src/Altinn.Broker/Mappers/FileStatusDetailsExtMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ internal static FileStatusDetailsExt MapToExternalModel(FileEntity file, List<Fi
PropertyList = fileOverview.PropertyList,
Recipients = fileOverview.Recipients,
SendersFileReference = fileOverview.SendersFileReference,
ExpirationTime = fileOverview.ExpirationTime,
FileStatusHistory = MapToFileStatusHistoryExt(fileEvents),
RecipientFileStatusHistory = MapToRecipientEvents(actorEvents)
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public ServiceOwnerOverviewExt() { }

public DeploymentStatusExt DeploymentStatus { get; set; }

public TimeSpan DeletionTime { get; set; }
public TimeSpan FileTimeToLive { get; set; }
}

0 comments on commit a8c67ef

Please sign in to comment.