From 5c998a5c46e9732295b54c5ae5cf7fc5bcbed714 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 17 Nov 2023 08:22:27 +0100 Subject: [PATCH] add comment --- routers/api/v1/activitypub/repository.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index e2f65bd015..e2b23e0fdc 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -83,6 +83,7 @@ func RepositoryInbox(ctx *context.APIContext) { log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor) // assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary. + // TODO: validate input in front of parsing. // parse actor actor, err := activitypub.ParseActorData(opt.Actor.GetID().String())