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
1 changed files with 1 additions and 1 deletions

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 })
}