Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

Get Activity field from star

This commit is contained in:
erik 2023-11-14 15:27:32 +01:00 committed by Michael Jerger
parent e8013250b8
commit f48b4d1f55

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.Actor) log.Info("RepositoryInbox: Activity.Actor %v", opt.Activity)
// assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345" // assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345"