summaryrefslogtreecommitdiffstats
path: root/users/views
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-17 12:00:47 -0700
committerAndrew Godwin2022-12-17 12:00:47 -0700
commit62f2b867b9dbdfde6be79b729515711c5c2cd877 (patch)
tree284fe76602d3afdee41d7840fda04aae12ac08c7 /users/views
parentd7ffb47fb2d973fd2d6eea09c57fd3620d6b6af1 (diff)
downloadtakahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.tar.gz
takahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.tar.bz2
takahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.zip
Fix serving of system actor
Fixes #183
Diffstat (limited to 'users/views')
-rw-r--r--users/views/activitypub.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/views/activitypub.py b/users/views/activitypub.py
index d80a1c8..2d17afd 100644
--- a/users/views/activitypub.py
+++ b/users/views/activitypub.py
@@ -219,5 +219,6 @@ class SystemActorView(View):
canonicalise(
SystemActor().to_ap(),
include_security=True,
- )
+ ),
+ content_type="application/activity+json",
)