Remove environment setting.
This commit is contained in:
parent
efbf895cde
commit
47a26e4921
|
@ -45,9 +45,6 @@ export const fetch = async (ctx: Ctx) => {
|
|||
maintenance: [],
|
||||
}
|
||||
|
||||
// TODO: remove
|
||||
ctx.body.maintenance.push({ type: MaintenanceType.SQS_MISSING })
|
||||
|
||||
if (env.SELF_HOSTED) {
|
||||
if (await isSqsMissing()) {
|
||||
ctx.body.maintenance.push({ type: MaintenanceType.SQS_MISSING })
|
||||
|
|
Loading…
Reference in New Issue