diff options
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OutboxPost.go b/OutboxPost.go index c5d5f2a..9d7c004 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -121,8 +121,7 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { SetActorFollowingDB(db, rActivity) MakeActivityRequest(db, activity) } - - w.Write([]byte("")) + break case "Delete": fmt.Println("This is a delete") @@ -572,7 +571,7 @@ func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { DeleteObject(db, k.Id) } } - TombstoneObjectFromCache(db, activity.Object.Id) + TombstoneObjectFromCache(db, activity.Object.Id) break } } |