Skip to content

Commit

Permalink
fix one more
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Dec 20, 2024
1 parent b255828 commit dfbb037
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/vmWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ app.post('/assignVM', async (req, res) => {
);
vm = await pool.assignVM(req.body.roomId, req.body.uid);
if (vm) {
return res.json(vm);
res.json(vm);
return;
}
}
res.json(null);
Expand Down

0 comments on commit dfbb037

Please sign in to comment.