From d80afd8a49f552c5dc51d8346d40809298fef11f Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Tue, 2 Nov 2021 15:06:42 -0300 Subject: db package now compiles without error for now --- db/follow.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'db/follow.go') diff --git a/db/follow.go b/db/follow.go index 386de2b..0919e30 100644 --- a/db/follow.go +++ b/db/follow.go @@ -262,7 +262,10 @@ func SetActorFollowingDB(activity activitypub.Activity) (activitypub.Activity, e return activity, err } - remoteActorFollowerCol := GetCollectionFromReq(actor.Followers) + remoteActorFollowerCol, err := webfinger.GetCollectionFromReq(actor.Followers) + if err != nil { + return activity, err + } for _, e := range following { if e.Id == activity.Actor.Id { -- cgit v1.2.3