Update back/src/Controller/MapController.ts
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
929bb37728
commit
bdea7e49d1
@ -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},
|
||||||
|
Loading…
Reference in New Issue
Block a user