Oops
This commit is contained in:
parent
b6929de1a7
commit
5b66d152a1
|
@ -53,7 +53,7 @@ apiRouter.put("/user/tests", async (req, res, next) => {
|
||||||
try {
|
try {
|
||||||
const { tests } = req.body as T.PostTestResultsBody;
|
const { tests } = req.body as T.PostTestResultsBody;
|
||||||
await updateLingdocsUser(req.user.userId, { tests });
|
await updateLingdocsUser(req.user.userId, { tests });
|
||||||
sendResponse({
|
sendResponse(res, {
|
||||||
ok: true,
|
ok: true,
|
||||||
message: "posted test results",
|
message: "posted test results",
|
||||||
tests,
|
tests,
|
||||||
|
|
Loading…
Reference in New Issue