[start #35862759] fixed bug in handle_wishlist_added
parent
5ddc050ff9
commit
dc94a207cc
|
@ -220,7 +220,7 @@ def handle_wishlist_added(supporter, work, **kwargs):
|
||||||
"""send notification to confirmed rights holder when someone wishes for their work"""
|
"""send notification to confirmed rights holder when someone wishes for their work"""
|
||||||
claim = work.claim.filter(status="active")
|
claim = work.claim.filter(status="active")
|
||||||
if claim:
|
if claim:
|
||||||
notification.queue([claim.user], "new_wisher", {
|
notification.queue([claim[0].user], "new_wisher", {
|
||||||
'supporter': supporter,
|
'supporter': supporter,
|
||||||
'work': work
|
'work': work
|
||||||
}, True)
|
}, True)
|
||||||
|
|
Loading…
Reference in New Issue