aboutsummaryrefslogtreecommitdiff
path: root/routes/follow.go
blob: 3dbf9cf17926ffc69ffd3d1f529c95dc76380742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 {
	return activitypub.GetActorFollowing(ctx, config.Domain)
}

func Followers(ctx *fiber.Ctx) error {
	// STUB
	return activitypub.GetActorFollowers(ctx, config.Domain)
}