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

we got a parsed actor

This commit is contained in:
Michael Jerger 2023-11-10 14:51:33 +01:00
parent b08580280a
commit 1044e44ee5

View file

@ -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"