From 1044e44ee57910698a18f7bd10e9de2151751c42 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 10 Nov 2023 14:51:33 +0100 Subject: [PATCH] we got a parsed actor --- routers/api/v1/activitypub/repository.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 9641b46a2c..3c9aa35eda 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -72,7 +72,8 @@ func RepositoryInbox(ctx *context.APIContext) { log.Info("RepositoryInbox: repo %v, %v", ctx.Repo.Repository.OwnerName, ctx.Repo.Repository.Name) opt := web.GetForm(ctx).(*forgefed.Star) - log.Info("RepositoryInbox: Activity Source %v,", opt.Source) + log.Info("RepositoryInbox: Activity.Source %v", opt.Source) + log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor) // assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345"