Skip to content

Commit

Permalink
Update to 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GHMatti authored and GHMatti committed May 31, 2019
1 parent 00d9b5a commit 25b996d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __resource.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'

version '3.1.0'
version '3.1.1'

server_script 'mysql-async.js'
client_script 'mysql-async-client.js'
Expand Down
2 changes: 1 addition & 1 deletion mysql-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -5116,7 +5116,7 @@ global.exports('mysql_fetch_scalar', (query, parameters, callback) => {
const sql = prepareQuery(query, parameters);
mysql.execute({ sql, typeCast }, invokingResource).then((result) => {
safeInvoke(callback, (result && result[0]) ? Object.values(result[0])[0] : null);
});
}).catch(() => {});
});

global.exports('mysql_insert', (query, parameters, callback) => {
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mysql-async",
"version": "3.1.0",
"version": "3.1.1",
"description": "fivem-mysql-async",
"private": true,
"scripts": {
Expand Down

0 comments on commit 25b996d

Please sign in to comment.