Commit fe4de6dc authored by nanahira's avatar nanahira

fix

parent 09131e88
Pipeline #13286 passed with stages
in 10 minutes and 47 seconds
...@@ -288,7 +288,7 @@ init = () -> ...@@ -288,7 +288,7 @@ init = () ->
imported = true imported = true
#import the old Challonge api key option #import the old Challonge api key option
if settings.modules.challonge.options if settings.modules.challonge.options
settings.modules.challonge.api_key = settings.modules.challonge.options.api_key settings.modules.challonge.api_key = settings.modules.challonge.options.apiKey
delete settings.modules.challonge.options delete settings.modules.challonge.options
imported = true imported = true
#import the old random_duel.blank_pass_match option #import the old random_duel.blank_pass_match option
......
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
} }
//import the old Challonge api key option //import the old Challonge api key option
if (settings.modules.challonge.options) { if (settings.modules.challonge.options) {
settings.modules.challonge.api_key = settings.modules.challonge.options.api_key; settings.modules.challonge.api_key = settings.modules.challonge.options.apiKey;
delete settings.modules.challonge.options; delete settings.modules.challonge.options;
imported = true; imported = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment