mirror of
https://github.com/caronc/apprise-api.git
synced 2025-08-16 09:37:47 +02:00
bugfix to better support tags and/or tag
This commit is contained in:
@ -633,7 +633,7 @@ class NotifyView(View):
|
|||||||
# Allow 'tag' value to be specified as part of the URL parameters
|
# Allow 'tag' value to be specified as part of the URL parameters
|
||||||
# if not found otherwise defined.
|
# 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:
|
if not tag:
|
||||||
# Allow GET parameter over-rides
|
# Allow GET parameter over-rides
|
||||||
if 'tag' in request.GET:
|
if 'tag' in request.GET:
|
||||||
|
Reference in New Issue
Block a user