Skip to content

Commit

Permalink
Fix machine translation region property not being set with empty value.
Browse files Browse the repository at this point in the history
  • Loading branch information
deeDude committed Jun 3, 2020
1 parent 7af6eee commit ba05bd8
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 @@ -23,7 +23,7 @@ public class MTConfigContent {
@Value("${mt.translatedCount:20}")
private String translatedCount;

@Value("${mt.region}")
@Value("${mt.region:}")
private String region;

@PostConstruct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ swagger-ui.enable=true

#microsoftstore mt config
mt.server=https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=
mt.region=
#mt.region=
#mt.key=
mt.translatedMax=500
mt.translatedCount=20
Expand Down

0 comments on commit ba05bd8

Please sign in to comment.