Skip to content

Commit b45079a

Browse files
committed
fix finding
1 parent 97ffca6 commit b45079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/owasp/wrongsecrets/challenges/ChallengesCtfController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class ChallengesCtfController {
2525
private final Challenges challenges;
2626
private final ChallengeDefinitionsConfiguration wrongSecretsConfiguration;
2727
private final RuntimeEnvironment runtimeEnvironment;
28-
private final String disabledChallenge = "This challenge is disbled";
2928

3029
public ChallengesCtfController(
3130
ScoreCard scoreCard,
@@ -54,6 +53,7 @@ public String getChallenges() {
5453
jsonChallenge.put("name", definition.name().name());
5554
jsonChallenge.put("key", definition.name().shortName());
5655
jsonChallenge.put("category", getCategory() + " - " + definition.category().category());
56+
String disabledChallenge = "This challenge is disbled";
5757
jsonChallenge.put(
5858
"description",
5959
definition

0 commit comments

Comments
 (0)