Explorar el Código

Fix bad config names

Colin Powell hace 2 años
padre
commit
2320210b37
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      mopidy_webhooks/__init__.py

+ 2 - 2
mopidy_webhooks/__init__.py

@@ -18,8 +18,8 @@ class Extension(ext.Extension):
 
     def get_config_schema(self):
         schema = super().get_config_schema()
-        schema["url"] = config.String()
-        schema["token"] = config.Secret()
+        schema["urls"] = config.String()
+        schema["tokens"] = config.Secret(optional=True)
         return schema
 
     def setup(self, registry):