Skip to content

Commit 39791c3

Browse files
Update router.ex
1 parent ac472d3 commit 39791c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/cadet_web/router.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ defmodule CadetWeb.Router do
4949
get("/notification", NotificationController, :index)
5050
post("/notification/acknowledge", NotificationController, :acknowledge)
5151

52+
5253
get("/user", UserController, :index)
53-
put("/user/collectibles", UserController, :collectible_update)
54-
put("/user/save_data/update", UserController, :save_data_update)
55-
put("/user/save_data/clear_up", UserController, :save_data_clear_up)
54+
put("/user/game_states/clear", UserController, :clear_up_game_states)
55+
put("/user/game_states/save", UserController, :update_game_states)
56+
5657

5758
post("/chat/token", ChatController, :index)
5859
post("/chat/notify", ChatController, :notify)

0 commit comments

Comments
 (0)