1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Respond to PR feedback.

This commit is contained in:
Sam Rose 2024-01-31 15:54:36 +00:00
parent 080cfc8dcf
commit 281b88a86a
No known key found for this signature in database

View file

@ -42,10 +42,10 @@ export const fetch = async (ctx: Ctx) => {
disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL,
baseUrl: env.PLATFORM_URL,
isDev: env.isDev() && !env.isTest(),
maintenance: [],
}
if (env.SELF_HOSTED) {
ctx.body.maintenance = []
if (await isSqsMissing()) {
ctx.body.maintenance.push({ type: MaintenanceType.SQS_MISSING })
}