Skip to content

Commit

Permalink
Merge pull request #95 from NovaDrake76/dev
Browse files Browse the repository at this point in the history
fix: saving user after opening case
  • Loading branch information
NovaDrake76 authored Jun 20, 2024
2 parents 8daf91d + 83c7e1d commit 9245d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/routes/gamesRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module.exports = (io) => {

updateLevel(user, caseData.price * quantityToOpen);

//await user.save();
await user.save();

const winnerUser = {
name: user.username,
Expand Down

0 comments on commit 9245d1a

Please sign in to comment.