Merge pull request #155 from aguibert/player-create-bugfix

Produce text/html response for creating player
This commit is contained in:
Andrew Guibert 2018-10-17 10:08:58 -05:00 committed by GitHub
commit 06c398aaae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ public class PlayerService {
}
@POST
@Produces(MediaType.TEXT_HTML)
public String createPlayer(@QueryParam("name") String name, @QueryParam("id") String id) {
// Validate player name
if (name == null)