diff --git a/Memphis.Jobs.ATC/Worker.cs b/Memphis.Jobs.ATC/Worker.cs index b32182d..1caf905 100644 --- a/Memphis.Jobs.ATC/Worker.cs +++ b/Memphis.Jobs.ATC/Worker.cs @@ -179,7 +179,7 @@ await _context.Hours.AddAsync(new Hours } await _context.SaveChangesAsync(); removed++; - await _onlineWebhook.SendMessageAsync($":x: **{entry.Callsign}** is now offline, **{entry.Name}** controlled for **{Math.Round(entry.Duration.TotalHours, 2)}** hours", false); + await _onlineWebhook.SendMessageAsync($":x: **{entry.Callsign}** is now offline, **{entry.User.FirstName} {entry.User.LastName}** controlled for **{Math.Round(entry.Duration.TotalHours, 2)}** hours", false); } }