Use actor

This commit is contained in:
erik 2023-11-15 08:59:55 +01:00 committed by Michael Jerger
parent b085ce37a6
commit ab92891091

View file

@ -73,7 +73,7 @@ func RepositoryInbox(ctx *context.APIContext) {
opt := web.GetForm(ctx).(*forgefed.Star) 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.Activity) log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor)
// assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345" // assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345"