aboutsummaryrefslogtreecommitdiff
path: root/routes/follow.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/follow.go')
-rw-r--r--routes/follow.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/routes/follow.go b/routes/follow.go
deleted file mode 100644
index f61e405..0000000
--- a/routes/follow.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package routes
-
-import (
- "github.com/FChannel0/FChannel-Server/activitypub"
- "github.com/FChannel0/FChannel-Server/config"
- "github.com/gofiber/fiber/v2"
-)
-
-func Following(ctx *fiber.Ctx) error {
- actor, _ := activitypub.GetActorFromDB(config.Domain)
- return actor.GetFollowingResp(ctx)
-}
-
-func Followers(ctx *fiber.Ctx) error {
- actor, _ := activitypub.GetActorFromDB(config.Domain)
- return actor.GetFollowersResp(ctx)
-}