bugfix to better support tags and/or tag

This commit is contained in:
Chris Caron 2024-02-17 20:18:05 -05:00
parent 8fdb6ac9f5
commit 0146c20ec6

View File

@ -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: