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

This commit is contained in:
Paul Makles 2021-12-26 23:12:49 +00:00
parent 336e2ddeb7
commit 3999dbbe66

View file

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