Skip to content

Commit 1466d11

Browse files
committed
revert
1 parent ceac7dd commit 1466d11

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

adminforth/dataConnectors/postgres.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { AdminForthDataTypes, AdminForthFilterOperators, AdminForthSortDirection
44
import AdminForthBaseConnector from './baseConnector.js';
55
import pkg from 'pg';
66
import { afLogger, dbLogger } from '../modules/logger.js';
7-
import { Decimal } from 'decimal.js';
87

98
const { Pool } = pkg;
109
const { Client, types } = pkg;
@@ -213,7 +212,7 @@ class PostgresConnector extends AdminForthBaseConnector implements IAdminForthDa
213212
throw new Error(`AdminForth does not support row type: ${field._underlineType} for timestamps, use VARCHAR (with iso strings) or TIMESTAMP/INT (with unix timestamps). Issue in field: ${field.name} in table: ${field.table}`);
214213
}
215214
}
216-
215+
217216
if (field.type == AdminForthDataTypes.DATE) {
218217
if (!value) {
219218
return null;

0 commit comments

Comments
 (0)