fix: hydrating server config should always be null if not present

pull/1049/head
Paul Makles 2021-12-26 23:12:49 +00:00
parent 55b79536d4
commit 6caf0e6018
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default class ServerConfig
}
@action hydrate(data: RevoltConfiguration) {
this.config = data;
this.config = data ?? null;
}
/**