Was not returning email in resObj

This commit is contained in:
Matt McWilliams 2023-06-30 11:08:21 -04:00
parent b9a64e4b6e
commit 4b9efb7d80
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -440,6 +440,7 @@ app.post('/job/claim/:id', async (req, res, next) => {
resObj.dataset = jobObj.dataset;
resObj.model = jobObj.model;
resObj.name = jobObj.name;
resObj.email = jobObj.email;
res.json(resObj);
});
app.post('/job/fail/:id', async (req, res, next) => {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -467,6 +467,7 @@ app.post('/job/claim/:id', async (req : Request, res: Response, next : NextFunct
resObj.dataset = jobObj.dataset;
resObj.model = jobObj.model;
resObj.name = jobObj.name;
resObj.email = jobObj.email;
res.json(resObj);
});