Browse Source

add findGameById to ServerApp

feat-serverGameRepresentation
Steffen Nitschke 4 years ago
parent
commit
0fbcc7d086
  1. 1
      fh.fd.ci.server/src/main/java/de/fd/fh/ServerApp.java

1
fh.fd.ci.server/src/main/java/de/fd/fh/ServerApp.java

@ -57,6 +57,7 @@ public class ServerApp
get("/users/:user_id", userController::getUser); get("/users/:user_id", userController::getUser);
post("/games", gameController::createGame); post("/games", gameController::createGame);
get("/games/:game_id", gameController::findGameById);
get("/hello", (req, res) -> "Hello World"); get("/hello", (req, res) -> "Hello World");

Loading…
Cancel
Save