Skip to content

Commit

Permalink
tweek ze msg
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Nov 29, 2024
1 parent c30a08e commit 24f3db9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public async Task<DeleteDialogResult> Handle(DeleteDialogCommand request, Cancel
{
// TODO: https://github.com/digdir/dialogporten/issues/1543
// When restoration is implemented, add a hint to the error message.
return new BadRequest($"Entity '{nameof(DialogEntity)}' with key '{request.Id}' is already removed, and cannot be deleted again.");
return new BadRequest($"Entity '{nameof(DialogEntity)}' with key '{request.Id}' has already been removed and cannot be deleted again.");
}

if (!_userResourceRegistry.UserCanModifyResourceType(dialog.ServiceResourceType))
Expand Down

0 comments on commit 24f3db9

Please sign in to comment.