aboutsummaryrefslogtreecommitdiff
path: root/routes/actor.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/actor.go')
-rw-r--r--routes/actor.go12
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 {