mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-25 03:00:20 -04:00
Added data type of vars to API docs
This commit is contained in:
@@ -706,7 +706,7 @@ def api_settings():
|
||||
vars=[AllowNewAccountsVariable, LoginTimeVariable,
|
||||
LoginTimeResetVariable, HostVariable, PortVariable,
|
||||
UrlPrefixVariable],
|
||||
description='Edit the admin settings'
|
||||
description='Edit the admin settings. Supplying a hosting setting will automatically restart MIND.'
|
||||
)
|
||||
),
|
||||
methods=['GET', 'PUT']
|
||||
@@ -798,7 +798,7 @@ def api_admin_user(inputs: Dict[str, Any], u_id: int):
|
||||
),
|
||||
post=Method(
|
||||
vars=[DatabaseFileVariable, CopyHostingSettingsVariable],
|
||||
description="Upload and apply a database file"
|
||||
description="Upload and apply a database file. Will automatically restart MIND."
|
||||
)
|
||||
),
|
||||
methods=['GET', 'POST']
|
||||
|
||||
Reference in New Issue
Block a user