mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Automatically show config modal when adding a new notifier
This commit is contained in:
parent
a361296930
commit
50941055fb
3 changed files with 20 additions and 15 deletions
|
@ -2943,7 +2943,7 @@ class WebInterface(object):
|
|||
result = notifiers.add_notifier_config(agent_id=agent_id, **kwargs)
|
||||
|
||||
if result:
|
||||
return {'result': 'success', 'message': 'Added notification agent.'}
|
||||
return {'result': 'success', 'message': 'Added notification agent.', 'notifier_id': result}
|
||||
else:
|
||||
return {'result': 'error', 'message': 'Failed to add notification agent.'}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue