Update back/src/Controller/MapController.ts

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
grégoire parant 2020-05-10 14:48:58 +02:00 committed by GitHub
parent 929bb37728
commit bdea7e49d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ export class MapController {
} }
// Returns a map mapping map name to file name of the map // Returns a map mapping map name to file name of the map
getMpas() { getMaps() {
this.App.get("/maps", (req: Request, res: Response) => { this.App.get("/maps", (req: Request, res: Response) => {
return res.status(OK).send({ return res.status(OK).send({
mapStart: {key: ROOM_STARTED, url: URL_ROOM_STARTED}, mapStart: {key: ROOM_STARTED, url: URL_ROOM_STARTED},