Mission rewards save #46

Merged
holmityd merged 15 commits from main into main 2023-08-31 03:29:10 -07:00
Showing only changes of commit c57c1dfff1 - Show all commits

View File

@ -40,11 +40,11 @@ import fs from 'fs';
- [ ] FpsSamples - [ ] FpsSamples
*/ */
const missionInventoryUpdateController: RequestHandler = async (req, res) => { const missionInventoryUpdateController: RequestHandler = async (req, res) => {
fs.writeFile("./tmp/test", req.body, function(err) { // fs.writeFile("./tmp/test", req.body, function(err) {
if(err) { // if(err) {
return console.log(err); // return console.log(err);
} // }
}); // });
const [data, _secondIGuessIsSalt] = String(req.body).split("\n"); const [data, _secondIGuessIsSalt] = String(req.body).split("\n");
const id = req.query.accountId as string; const id = req.query.accountId as string;