fix createdAt not populating

This commit is contained in:
Simon Larsen 2023-06-22 17:41:19 +01:00
parent 4c06feeb50
commit 70478bd1fa
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -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,
},