Skip to content

Commit

Permalink
Fix to better support kw tags (alias of tag) (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc authored Feb 18, 2024
1 parent 8fdb6ac commit b4805f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise_api/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def post(self, request, key):
# 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:
Expand Down

0 comments on commit b4805f0

Please sign in to comment.