mirror of
https://github.com/caronc/apprise-api.git
synced 2025-03-09 12:01:18 +01:00
bugfix to better support tags and/or tag
This commit is contained in:
parent
8fdb6ac9f5
commit
0146c20ec6
@ -633,7 +633,7 @@ class NotifyView(View):
|
||||
# Allow 'tag' value to be specified as part of the URL parameters
|
||||
# if not found otherwise defined.
|
||||
#
|
||||
tag = content.get('tag', content.get('tags'))
|
||||
tag = content.get('tag') if content.get('tag') else content.get('tags')
|
||||
if not tag:
|
||||
# Allow GET parameter over-rides
|
||||
if 'tag' in request.GET:
|
||||
|
Loading…
Reference in New Issue
Block a user