note
should be jsonified
This commit is contained in:
parent
389370708d
commit
8008532b30
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not note_page.content_type == ap_utils.ACTIVITY_TYPE:
|
if not note_page.content_type == ap_utils.ACTIVITY_TYPE:
|
||||||
raise utils.EventError("That's not a fediverse URL")
|
raise utils.EventError("That's not a fediverse URL")
|
||||||
|
|
||||||
note = note_page.data
|
note = note_page.json()
|
||||||
actor = ap_actor.Actor(note["attributedTo"])
|
actor = ap_actor.Actor(note["attributedTo"])
|
||||||
actor.load()
|
actor.load()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue