From f48b4d1f556b96d0aaed9bf3a25ccd6f663c1488 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 14 Nov 2023 15:27:32 +0100 Subject: [PATCH] Get Activity field from star --- routers/api/v1/activitypub/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 3c9aa35eda..35e25cad4e 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -73,7 +73,7 @@ func RepositoryInbox(ctx *context.APIContext) { opt := web.GetForm(ctx).(*forgefed.Star) log.Info("RepositoryInbox: Activity.Source %v", opt.Source) - log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor) + log.Info("RepositoryInbox: Activity.Actor %v", opt.Activity) // assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345"