Spread it like butter

This commit is contained in:
Simon Ser 2021-01-22 20:58:57 +01:00
parent 430373dd13
commit 987f0b3389

View file

@ -44,7 +44,7 @@ export default class Client extends EventTarget {
constructor(params) { constructor(params) {
super(); super();
this.params = Object.assign(this.params, params); this.params = { ...this.params, ...params };
this.reconnect(); this.reconnect();
} }