MissClick argument
This commit is contained in:
parent
e300d913cc
commit
1007ac87da
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class PuzzleResponse implements Response {
|
||||||
//saveSourceCode(received, databaseRepo.getPlayer(user.getId()));
|
//saveSourceCode(received, databaseRepo.getPlayer(user.getId()));
|
||||||
|
|
||||||
JSONObject responseJSON = new JSONObject();
|
JSONObject responseJSON = new JSONObject();
|
||||||
if(this.databaseRepo.getScore(user.getId(), 0) >= received.getPuzzleId()){
|
if(this.databaseRepo.getScore(user.getId(), received.getPuzzleId()) >= 0){
|
||||||
HttpUtil.responseHeaders(writer, 403, "Access-Control-Allow-Origin: *");
|
HttpUtil.responseHeaders(writer, 403, "Access-Control-Allow-Origin: *");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue