Skip to content

Commit d02d032

Browse files
committed
Fix bug affecting transactions in Postgres TableRepository
1 parent 80e00fc commit d02d032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strontium",
3-
"version": "2.4.12",
3+
"version": "2.4.13",
44
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
55
"main": "lib/src/index.js",
66
"types": "lib/src/index.d.ts",

src/query/drivers/sql/TableRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export abstract class TableRepository<
8989
parameters
9090
)
9191

92-
let results = await this.store.query<{ [key: string]: any }>(
92+
let results = await connection.query<{ [key: string]: any }>(
9393
processedQuery,
9494
processedParameters
9595
)

0 commit comments

Comments
 (0)