Skip to content

Commit

Permalink
fix: issue in loading password from application.properties
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh A <[email protected]>
  • Loading branch information
adarsh-a-tw committed Oct 17, 2023
1 parent d67d734 commit a17e099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Challenge41 extends Challenge {

private final String password;

public Challenge41(ScoreCard scoreCard, @Value("{challenge41_password}") String password) {
public Challenge41(ScoreCard scoreCard, @Value("${challenge41password}") String password) {
super(scoreCard);
this.password = password;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ challenge15ciphertext=qcyRgfXSh0HUKsW/Xb5LnuWt9DgU8tQJfluR66UDDlmMgVWCGEwk1qxKCi
challenge25ciphertext=dQMhBe8oLxIdGLcxPanDLS++srED/x05P+Ph9PFZKlL2K42vXi7Vtbh3/N90sGT087W7ARURZg==
challenge26ciphertext=gbU5thfgy8nwzF/qc1Pq59PrJzLB+bfAdTOrx969JZx1CKeG4Sq7v1uUpzyCH/Fo8W8ghdBJJrQORw==
challenge27ciphertext=gYPQPfb0TUgWK630tHCWGwwME6IWtPWA51eU0Qpb9H7/lMlZPdLGZWmYE83YmEDmaEvFr2hX
challenge41password=UEBzc3dvcmQxMjM=
management.endpoint.health.probes.enabled=true
management.health.livenessState.enabled=true
management.health.readinessState.enabled=true
Expand Down Expand Up @@ -111,4 +112,3 @@ default_aws_value_challenge_9=ACTUAL_ANSWER_CHALLENGE9
default_aws_value_challenge_10=ACTUAL_ANSWER_CHALLENGE10
default_aws_value_challenge_11=ACTUAL_ANSWER_CHALLENGE_11
K8S_ENV=Heroku(Docker)
challenge41_password=UEBzc3dvcmQxMjM=

0 comments on commit a17e099

Please sign in to comment.