Update create.ts
This commit is contained in:
parent
a9750d9dc6
commit
c3fe36c2e7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default async function CreateMultiplayerRoom(req: NextApiRequest, res: Ne
|
|||
})
|
||||
|
||||
if (result.status === 200) {
|
||||
// If success, send back the url for the new room
|
||||
// If success, send back the url for the new multiplayer project
|
||||
res.send({ status: 'success', message: result.statusText, url: '/r/' + roomId })
|
||||
} else {
|
||||
throw Error(result.statusText)
|
||||
|
|
Loading…
Reference in a new issue