Was not returning email in resObj
This commit is contained in:
parent
b9a64e4b6e
commit
4b9efb7d80
|
@ -440,6 +440,7 @@ app.post('/job/claim/:id', async (req, res, next) => {
|
||||||
resObj.dataset = jobObj.dataset;
|
resObj.dataset = jobObj.dataset;
|
||||||
resObj.model = jobObj.model;
|
resObj.model = jobObj.model;
|
||||||
resObj.name = jobObj.name;
|
resObj.name = jobObj.name;
|
||||||
|
resObj.email = jobObj.email;
|
||||||
res.json(resObj);
|
res.json(resObj);
|
||||||
});
|
});
|
||||||
app.post('/job/fail/:id', async (req, res, next) => {
|
app.post('/job/fail/:id', async (req, res, next) => {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -467,6 +467,7 @@ app.post('/job/claim/:id', async (req : Request, res: Response, next : NextFunct
|
||||||
resObj.dataset = jobObj.dataset;
|
resObj.dataset = jobObj.dataset;
|
||||||
resObj.model = jobObj.model;
|
resObj.model = jobObj.model;
|
||||||
resObj.name = jobObj.name;
|
resObj.name = jobObj.name;
|
||||||
|
resObj.email = jobObj.email;
|
||||||
|
|
||||||
res.json(resObj);
|
res.json(resObj);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue