mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Refactor auth code
This commit is contained in:
@@ -241,12 +241,6 @@ const docTemplate = `{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "Not authenticated",
|
||||
"name": "not_auth",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -458,7 +452,7 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Get m3u from last play",
|
||||
"description": "Get M3U from last played file",
|
||||
"name": "fromlast",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -475,17 +469,10 @@ const docTemplate = `{
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "File index in torrent",
|
||||
"name": "poster",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Set poster link of torrent",
|
||||
"name": "not_auth",
|
||||
"name": "poster",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user