This commit is contained in:
LingDocs 2021-09-21 14:33:58 -04:00 committed by GitHub
parent b6929de1a7
commit 5b66d152a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ apiRouter.put("/user/tests", async (req, res, next) => {
try {
const { tests } = req.body as T.PostTestResultsBody;
await updateLingdocsUser(req.user.userId, { tests });
sendResponse({
sendResponse(res, {
ok: true,
message: "posted test results",
tests,