We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c6685 commit a7c9345Copy full SHA for a7c9345
1 file changed
src/main/java/scorekeep/RdsWebConfig.java
@@ -41,4 +41,10 @@ public DataSource dataSource() {
41
public GameHistoryModel gameHistoryModel() {
42
return new GameHistoryModel();
43
}
44
+
45
+ static {
46
+ if ( System.getenv("NOTIFICATION_EMAIL") != null ){
47
+ Sns.createSubscription();
48
+ }
49
50
0 commit comments