mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 14:11:05 +00:00
Adding user logging for zebra.
This commit is contained in:
parent
d1c5755200
commit
50b56d3f0c
1 changed files with 1 additions and 1 deletions
2
vendor/zebra/views.py
vendored
2
vendor/zebra/views.py
vendored
|
@ -65,7 +65,7 @@ def webhooks_v2(request):
|
|||
|
||||
event_json = json.loads(request.body)
|
||||
event_key = event_json['type'].replace('.', '_')
|
||||
logging.request(request, "~FBStripe webhook ~SB%s~SN~FB: ~FC%s" % (event_key, event_json))
|
||||
logging.user(request.user, "~FBStripe webhook ~SB%s~SN~FB: ~FC%s" % (event_key, event_json))
|
||||
|
||||
if event_key in WEBHOOK_MAP:
|
||||
WEBHOOK_MAP[event_key].send(sender=None, full_json=event_json)
|
||||
|
|
Loading…
Add table
Reference in a new issue