Skip to content

Commit

Permalink
Updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathanio123 committed Oct 29, 2024
1 parent 85ee7c2 commit c89ff3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fusion.Summary.Api/BaseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ protected ActionResult DepartmentNotFound(string sapDepartmentId) =>
FusionApiError.NotFound(sapDepartmentId, $"Department with sap id '{sapDepartmentId}' was not found");

protected ActionResult ProjectNotFound(Guid projectId) =>
FusionApiError.NotFound(projectId, $"Project with id '{projectId}' was not found");
FusionApiError.NotFound(projectId, $"Project with id or externalId '{projectId}' was not found");

protected ActionResult SapDepartmentIdRequired() =>
FusionApiError.InvalidOperation("SapDepartmentIdRequired", "SapDepartmentId route parameter is required");
Expand Down

0 comments on commit c89ff3b

Please sign in to comment.