Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit b776314

Browse files
committed
fix(transactions): resolve error when executing transaction
1 parent bf2d729 commit b776314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/fxmanifest.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ game 'common'
33

44
name 'oxmysql'
55
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
6-
version '1.8.1'
6+
version '1.8.2'
77
url 'https://github.com/overextended/oxmysql'
88
author 'overextended'
99
use_fxv2_oal 'yes'

src/transaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const transaction = async (queries, parameters, resource) => {
1313
ScheduleResourceTick(resourceName);
1414
const connection = await pool.getConnection();
1515
try {
16-
const startTime = process.hrtime(startTime);
16+
const startTime = process.hrtime();
1717

1818
const fullQuery = parseTransaction(queries, parameters);
1919
const transactionAmount = fullQuery.length;

0 commit comments

Comments
 (0)