Skip to content

Commit

Permalink
fix(transactions): resolve error when executing transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Dec 1, 2021
1 parent bf2d729 commit b776314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game 'common'

name 'oxmysql'
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
version '1.8.1'
version '1.8.2'
url 'https://github.com/overextended/oxmysql'
author 'overextended'
use_fxv2_oal 'yes'
Expand Down
2 changes: 1 addition & 1 deletion src/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const transaction = async (queries, parameters, resource) => {
ScheduleResourceTick(resourceName);
const connection = await pool.getConnection();
try {
const startTime = process.hrtime(startTime);
const startTime = process.hrtime();

const fullQuery = parseTransaction(queries, parameters);
const transactionAmount = fullQuery.length;
Expand Down

0 comments on commit b776314

Please sign in to comment.