Update back/src/Controller/MapController.ts
authorgrégoire parant <g.parant@thecodingmachine.com>
Sun, 10 May 2020 12:48:58 +0000 (14:48 +0200)
committerGitHub <noreply@github.com>
Sun, 10 May 2020 12:48:58 +0000 (14:48 +0200)
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
back/src/Controller/MapController.ts

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