Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-website into main
  • Loading branch information
siarheidudko committed Jan 16, 2024
2 parents aa92356 + 09ed25d commit 78bc915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/database/InternalConfig/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class InternalConfigModel {

static fromJson(json: { [key: string]: any }): InternalConfigModel {
return new InternalConfigModel({
maintenanceMode: typeof json?.requests === 'boolean' ? json.maintenanceMode : false,
maintenanceMode: typeof json?.maintenanceMode === 'boolean' ? json.maintenanceMode : false,
maintenanceMessage: typeof json?.maintenanceMessage === 'string' ? json.maintenanceMessage : '',
});
}
Expand Down

0 comments on commit 78bc915

Please sign in to comment.