Changeset faff334 for pages/api/roulette
- Timestamp:
- 07/18/22 13:59:55 (2 years ago)
- Branches:
- main
- Children:
- 22367db
- Parents:
- e903234
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pages/api/roulette/gameStates.js
re903234 rfaff334 1 1 import { calculateWinnings } from './calculateWinnings' 2 2 3 import { game } from '../postgre/index'3 import { game, saveGameInHistory } from '../postgre/index' 4 4 5 5 import axios from 'axios'; … … 79 79 } 80 80 }); 81 82 if (player.whichBets?.length > 0) 83 saveGameInHistory('roulette', game, player.username) 81 84 } 82 85 }
Note:
See TracChangeset
for help on using the changeset viewer.