Skip to content

Commit

Permalink
sample.propertiesにACCEPT-LANGUAGEを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed May 22, 2024
1 parent ed5de9a commit cf88b7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sample.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ API_BASE_URL = https://partnerapi-sandbox.pokepay.jp

PKCS12_FILE = certkey.p12
PKCS12_PASSWORD = changeit

ACCEPT-LANGUAGE = en

2 changes: 1 addition & 1 deletion src/main/java/jp/pokepay/partnerapi/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public Config(File file) throws ConfigFileNotFoundException, ProcessingError {
this.baseUrl = properties.getProperty("API_BASE_URL");
this.p12File = file.toPath().getParent().resolve(properties.getProperty("PKCS12_FILE")).toString();
this.p12Password = properties.getProperty("PKCS12_PASSWORD");
this.acceptLanguage = properties.getProperty("ACCEPT-LANGUAGE", "jp");
this.acceptLanguage = properties.getProperty("ACCEPT-LANGUAGE", "en");
}
}

0 comments on commit cf88b7c

Please sign in to comment.