From c89ff3b87430afa5d8e149001ef3b12061e3f1ae Mon Sep 17 00:00:00 2001 From: Jonathan Idland Olsnes <73334350+Jonathanio123@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:30:52 +0100 Subject: [PATCH] Updated error message --- src/Fusion.Summary.Api/BaseController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fusion.Summary.Api/BaseController.cs b/src/Fusion.Summary.Api/BaseController.cs index b99f43c77..fa0484da2 100644 --- a/src/Fusion.Summary.Api/BaseController.cs +++ b/src/Fusion.Summary.Api/BaseController.cs @@ -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");