mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
feat(plugin): add API_TOKEN validation for plugin API registration
This commit is contained in:
+2
-1
@@ -426,7 +426,8 @@ class PluginManager(metaclass=Singleton):
|
||||
"endpoint": self.xxx,
|
||||
"methods": ["GET", "POST"],
|
||||
"summary": "API名称",
|
||||
"description": "API说明"
|
||||
"description": "API说明",
|
||||
"allow_anonymous": false
|
||||
}]
|
||||
"""
|
||||
ret_apis = []
|
||||
|
||||
Reference in New Issue
Block a user