Skip to content

Commit

Permalink
fix(server/mysql): unresolved promise when saving (#1371)
Browse files Browse the repository at this point in the history
  • Loading branch information
xXJamieXx authored Jun 19, 2023
1 parent 865292f commit dee3324
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/mysql/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ function db.saveInventories(players, trunks, gloveboxes, stashes)

MySQL.prepare(Query.UPDATE_STASH, stashes, function(affectedRows)
shared.info(('Saved %s/%s stashes'):format(affectedRows, numStash))
p:resolve()
end)
end

Expand Down

0 comments on commit dee3324

Please sign in to comment.