Skip to content

Commit e9fb9ca

Browse files
committed
revert
1 parent 815ebab commit e9fb9ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/dataConnectors/postgres.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const { Client, types } = pkg;
1313
types.setTypeParser(1114, (val) => val); // TIMESTAMP WITHOUT TIME ZONE
1414
types.setTypeParser(1082, (val) => val); // DATE
1515

16+
1617
class PostgresConnector extends AdminForthBaseConnector implements IAdminForthDataSourceConnector {
1718

1819
async setupClient(url: string): Promise<void> {
@@ -213,7 +214,6 @@ class PostgresConnector extends AdminForthBaseConnector implements IAdminForthDa
213214
}
214215
}
215216

216-
217217
if (field.type == AdminForthDataTypes.DATE) {
218218
if (!value) {
219219
return null;

0 commit comments

Comments
 (0)