Skip to content

Commit

Permalink
feat: cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlr committed Jul 9, 2024
1 parent f87e258 commit 422ba38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/src/modules/jobs/deca/hydrate-deca-history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Primitive } from "type-fest";

import { getDbCollection } from "../../../common/utils/mongodbUtils";

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function deepFlattenToObject(obj: object, prefix = ""): Record<string, Primitive> {
return Object.entries(obj).reduce<Record<string, Primitive>>((acc, [k, value]) => {
const pre = prefix.length ? prefix + "." : "";
Expand Down

0 comments on commit 422ba38

Please sign in to comment.