Skip to content

Commit

Permalink
solo create fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Aug 15, 2024
1 parent eff4bdb commit 849f9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/TrainingController.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ async (req, res) => {
});

if (pos === 'APP' || pos === 'CTR')
await axios.post(`https://api.vatusa.net/v2/solo?cid=${req.params.id}&position=${req.body.position}&expDate=${towersoloExpiration}&apikey=${process.env.VATUSA_API_KEY}`)
await axios.post(`https://api.vatusa.net/v2/solo?cid=${req.params.id}&position=${req.body.position}&expDate=${req.body.expDate}&apikey=${process.env.VATUSA_API_KEY}`)

return res.json(res.stdRes);
} catch(e) {
Expand Down

0 comments on commit 849f9ef

Please sign in to comment.