Fix inbox parsing
Committed fae8f9
--- a/webint_mentions/__init__.py
+++ b/webint_mentions/__init__.py
# TODO https://indieweb.org/Salmention
# TODO https://indieweb.org/Vouch
-import json
-
import newmath
import web
import webagt
def post(self):
"""ActivityPub Inbox."""
- data = json.loads(web.tx.request.body._data)
+ data = web.tx.request.body._data
from pprint import pprint
pprint(data)