mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 05:14:15 +00:00
Fix missed merge
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ConnectionConfigEntity } from "../entities/ConnectionConfigEntity";
|
||||
import { OrmUtils } from "../imports";
|
||||
|
||||
let config: any;
|
||||
let pairs: ConnectionConfigEntity[];
|
||||
@@ -39,7 +40,7 @@ export const ConnectionConfig = {
|
||||
},
|
||||
set: function set(val: Partial<any>) {
|
||||
if (!config || !val) return;
|
||||
config = val.merge(config);
|
||||
config = OrmUtils.mergeDeep(config, val);
|
||||
|
||||
// return applyConfig(config);
|
||||
return applyConfig(val);
|
||||
|
||||
Reference in New Issue
Block a user