diff options
author | FChannel <> | 2022-05-06 22:45:27 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 39012c6b17073f6933a5ead8beed64df555f7348 (patch) | |
tree | 7784d092fe196a9051c81cf6833997607ad2d268 /routes/outbox.go | |
parent | af542e339e5a611d2a1b5876450bee841b577640 (diff) |
converting functions to activitypub object functions
Diffstat (limited to 'routes/outbox.go')
-rw-r--r-- | routes/outbox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/outbox.go b/routes/outbox.go index 62d99c4..b2ffb42 100644 --- a/routes/outbox.go +++ b/routes/outbox.go @@ -19,7 +19,7 @@ func Outbox(ctx *fiber.Ctx) error { } if activitypub.AcceptActivity(ctx.Get("Accept")) { - activitypub.GetActorOutbox(ctx, actor) + actor.GetOutbox(ctx) return nil } @@ -31,7 +31,7 @@ func OutboxGet(ctx *fiber.Ctx) error { actor, _ := activitypub.GetActorByNameFromDB(ctx.Params("actor")) if activitypub.AcceptActivity(ctx.Get("Accept")) { - activitypub.GetActorInfo(ctx, actor.Id) + actor.GetInfoResp(ctx) return nil } |