mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-14 15:49:02 +00:00
Update upload api V2 + script for is_trusted
This commit is contained in:
@@ -130,7 +130,8 @@ UPLOAD_API_FORM_KEYMAP = {
|
||||
'is_anonymous': 'anonymous',
|
||||
'is_hidden': 'hidden',
|
||||
'is_complete': 'complete',
|
||||
'is_remake': 'remake'
|
||||
'is_remake': 'remake',
|
||||
'is_trusted': 'trusted'
|
||||
}
|
||||
UPLOAD_API_FORM_KEYMAP_REVERSE = {v: k for k, v in UPLOAD_API_FORM_KEYMAP.items()}
|
||||
UPLOAD_API_KEYS = [
|
||||
@@ -140,6 +141,7 @@ UPLOAD_API_KEYS = [
|
||||
'hidden',
|
||||
'complete',
|
||||
'remake',
|
||||
'trusted',
|
||||
'information',
|
||||
'description'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user