ismx-nexo-node-app 0.4.68 → 0.4.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@ class PostgresUtils {
|
|
|
12
12
|
if (typeof obj === 'function' || obj !== Object(obj) || obj instanceof Date)
|
|
13
13
|
return obj;
|
|
14
14
|
return PostgresUtils.fromEntries(Object.entries(obj).map(([key, value]) => [
|
|
15
|
-
PostgresUtils.snakeToCamel(key),
|
|
15
|
+
PostgresUtils.snakeToCamel(key), value,
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
18
|
static columns(table) {
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ export default abstract class PostgresUtils
|
|
|
23
23
|
|
|
24
24
|
return PostgresUtils.fromEntries(
|
|
25
25
|
Object.entries(obj).map(([key, value]) => [
|
|
26
|
-
PostgresUtils.snakeToCamel(key),
|
|
26
|
+
PostgresUtils.snakeToCamel(key), value,
|
|
27
27
|
]),
|
|
28
28
|
);
|
|
29
29
|
}
|