浏览代码

Fix bad config names

Colin Powell 2 年之前
父节点
当前提交
2320210b37
共有 1 个文件被更改,包括 2 次插入2 次删除
  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):