mirror of
https://github.com/caronc/apprise-api.git
synced 2024-12-12 18:00:51 +01:00
Fix to better support kw tags (alias of tag) (#172)
This commit is contained in:
parent
8fdb6ac9f5
commit
b4805f01e1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user