From cc87039a770cdbbe45f1e7cea6c6d04744f3e487 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Thu, 16 Apr 2026 17:41:11 -0400 Subject: [PATCH] Include commenter and recordType in GetWorkorderById comments response --- Api.SeaHavenIndustries/Controllers/WorkOrderController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Api.SeaHavenIndustries/Controllers/WorkOrderController.cs b/Api.SeaHavenIndustries/Controllers/WorkOrderController.cs index 915af2d..79939b3 100644 --- a/Api.SeaHavenIndustries/Controllers/WorkOrderController.cs +++ b/Api.SeaHavenIndustries/Controllers/WorkOrderController.cs @@ -574,7 +574,7 @@ namespace Api.SeaHavenIndustries.Controllers s.SignOffName, s.SignOffAttachment, s.SignOffSignature, - Comments = s.Comments.Select(c => new { c.Id, c.CreatedDate, c.Commenttext, c.Documents, userName = c.ApplicationUser != null ? c.ApplicationUser.FirstName : "" }), + Comments = s.Comments.Select(c => new { c.Id, c.CreatedDate, c.Commenttext, c.Commenter, c.RecordType, c.Documents, userName = c.ApplicationUser != null ? c.ApplicationUser.FirstName : "" }), quotes = s.Quotes.Select(q => new { code = q.QuotId, q.Id }) }).FirstOrDefaultAsync(); if (exist == null)