mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: add missing result type
This commit is contained in:
parent
521619be0f
commit
35a435090c
@ -99,7 +99,7 @@ export abstract class BaseRepository<
|
||||
this.registerLifeCycleHooks();
|
||||
}
|
||||
|
||||
private flatten(obj: object, prefix: string = '', result = {}) {
|
||||
private flatten(obj: object, prefix: string = '', result: object = {}) {
|
||||
for (const [key, value] of Object.entries(obj)) {
|
||||
const path = prefix ? `${prefix}.${key}` : key;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user