[Updated] Finished Frontend, Added statushandling to backend and frontend [Todo: session token handling at lvl 2]
This commit is contained in:
@@ -59,11 +59,6 @@ public class QuizSettings {
|
||||
|
||||
/** Inverse of toApiQuery */
|
||||
public QuizSettings(int amount, Integer category, String difficulty, String type) {
|
||||
System.out.println(amount);
|
||||
System.out.print(category);
|
||||
System.out.print(difficulty);
|
||||
System.out.print(type);
|
||||
|
||||
this.amount = amount;
|
||||
this.category = category == null ? Category.ANY : Category.values()[category];
|
||||
this.difficulty = difficulty == null ? Difficulty.ANY : Difficulty.valueOf(difficulty.toUpperCase());
|
||||
|
||||
Reference in New Issue
Block a user