mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-08-02 16:03:15 -05:00
Change how we handle escapeIdentifier suppression
This commit is contained in:
parent
21bce2d14f
commit
70c95cf410
|
|
@ -332,6 +332,7 @@ export class PGDatabase extends Database<pg.Pool, []> {
|
|||
return this.connection.query(query, values).then(res => res.rows);
|
||||
}
|
||||
override escapeId(id: string) {
|
||||
return (pg as any).escapeIdentifier(id);
|
||||
// @ts-expect-error @types/pg really needs to be updated
|
||||
return pg.escapeIdentifier(id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user