aboutsummaryrefslogtreecommitdiff
path: root/outboxGet.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-25 14:55:18 -0700
committerFChannel <>2021-06-25 14:55:18 -0700
commit80bcce22a2368c3911137dec97d6744dee328809 (patch)
tree0030d95bd0cc32562dd4652e93920e86188fcac5 /outboxGet.go
parent3b806e4603a7da8bb6a24029a0115e18a6b7ba5b (diff)
more cleaning up to better intergrate with plemroma standards. can verify signatures better
Diffstat (limited to 'outboxGet.go')
-rw-r--r--outboxGet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/outboxGet.go b/outboxGet.go
index acc1eee..4064f0b 100644
--- a/outboxGet.go
+++ b/outboxGet.go
@@ -16,7 +16,7 @@ func GetActorOutbox(w http.ResponseWriter, r *http.Request, db *sql.DB) {
collection.TotalItems = GetObjectPostsTotalDB(db, actor)
collection.TotalImgs = GetObjectImgsTotalDB(db, actor)
- enc, _ := json.MarshalIndent(collection, "", "\t")
+ enc, _ := json.Marshal(collection)
w.Header().Set("Content-Type", activitystreams)
w.Write(enc)