diff options
author | FChannel <> | 2022-05-02 17:43:39 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 328c9150228156c04d1045469c7dbcd7b5f4fedf (patch) | |
tree | ae4e281b4e0b6df3c54919756d55bfeff90f0ef0 /routes/actor.go | |
parent | 62edcb3745f414212ee102c13429056f02cf31bd (diff) |
admin auth and manage page working for initial pass through
Diffstat (limited to 'routes/actor.go')
-rw-r--r-- | routes/actor.go | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/routes/actor.go b/routes/actor.go index d8b6631..d564850 100644 --- a/routes/actor.go +++ b/routes/actor.go @@ -403,16 +403,12 @@ func ActorOutbox(ctx *fiber.Ctx) error { return nil } -func ActorFollowing(c *fiber.Ctx) error { - // STUB - - return c.SendString("actor following") +func ActorFollowing(ctx *fiber.Ctx) error { + return activitypub.GetActorFollowing(ctx, config.Domain+"/"+ctx.Params("actor")) } -func ActorFollowers(c *fiber.Ctx) error { - // STUB - - return c.SendString("actor followers") +func ActorFollowers(ctx *fiber.Ctx) error { + return activitypub.GetActorFollowers(ctx, config.Domain+"/"+ctx.Params("actor")) } func ActorReported(c *fiber.Ctx) error { |