Skip to content

Commit 5d047fc

Browse files
committed
Adds status 201 to be up-to-date with the API specs
1 parent 3d04e33 commit 5d047fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
game = Game.create(difficulty: data["difficulty"].to_i, state: "new")
4545

46+
status 201
4647
json(game)
4748
end
4849

0 commit comments

Comments
 (0)