aboutsummaryrefslogtreecommitdiff
path: root/routes/index.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-06 22:45:27 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit39012c6b17073f6933a5ead8beed64df555f7348 (patch)
tree7784d092fe196a9051c81cf6833997607ad2d268 /routes/index.go
parentaf542e339e5a611d2a1b5876450bee841b577640 (diff)
converting functions to activitypub object functions
Diffstat (limited to 'routes/index.go')
-rw-r--r--routes/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/index.go b/routes/index.go
index c088379..8f12664 100644
--- a/routes/index.go
+++ b/routes/index.go
@@ -16,7 +16,7 @@ func Index(ctx *fiber.Ctx) error {
// this is a activitpub json request return json instead of html page
if activitypub.AcceptActivity(ctx.Get("Accept")) {
- activitypub.GetActorInfo(ctx, actor.Id)
+ actor.GetInfoResp(ctx)
return nil
}