mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Remove 'on_' prefix from notifier actions
This commit is contained in:
parent
7da1edfcc5
commit
08a9b59ca4
2 changed files with 5 additions and 5 deletions
|
@ -179,7 +179,7 @@ def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data
|
|||
notifiers.send_notification(notifier_id=notifier_config['id'],
|
||||
subject=subject,
|
||||
body=body,
|
||||
notify_action=notify_action,
|
||||
action=notify_action.split('on_')[-1],
|
||||
parameters=parameters)
|
||||
|
||||
# Set the notification state in the db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue