From 70478bd1fa6b24ad18993798cf9305800eb4172a Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 22 Jun 2023 17:41:19 +0100 Subject: [PATCH] fix createdAt not populating --- CommonServer/API/StatusPageAPI.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CommonServer/API/StatusPageAPI.ts b/CommonServer/API/StatusPageAPI.ts index 535b15d51b..433ba7fbfa 100644 --- a/CommonServer/API/StatusPageAPI.ts +++ b/CommonServer/API/StatusPageAPI.ts @@ -609,6 +609,7 @@ export default class StatusPageAPI extends BaseAPI< projectId: statusPage.projectId!, }, select: { + createdAt: true, note: true, incidentId: true, }, @@ -792,6 +793,7 @@ export default class StatusPageAPI extends BaseAPI< projectId: statusPage.projectId!, }, select: { + createdAt: true, note: true, scheduledMaintenanceId: true, }, @@ -1340,6 +1342,7 @@ export default class StatusPageAPI extends BaseAPI< projectId: statusPage.projectId!, }, select: { + createdAt: true, note: true, scheduledMaintenanceId: true, }, @@ -1696,6 +1699,7 @@ export default class StatusPageAPI extends BaseAPI< projectId: statusPage.projectId!, }, select: { + createdAt: true, note: true, incidentId: true, },