Skip to content

Commit e6febfe

Browse files
committed
pgp removed debug info
1 parent 2109e44 commit e6febfe

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/db/driver/pgp.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@ import * as pgPromise from 'pg-promise';
55

66
import { toBigNumber } from '../../utils/bigNumber';
77

8-
// 1) add import
9-
import { attach } from 'pg-monitor';
10-
// 2) create empty object
11-
const i = {}
12-
// 3) pass it
13-
const pgp: IMain = pgPromise(i);
14-
// 4) attach to it
15-
attach(i);
16-
17-
// const pgp: IMain = pgPromise();
8+
const pgp: IMain = pgPromise();
189

1910
const parsePgArray = compose<string, string, string, string[]>(
2011
split(','),

0 commit comments

Comments
 (0)