1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05: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) log.Info("RepositoryInbox: repo %v, %v", ctx.Repo.Repository.OwnerName, ctx.Repo.Repository.Name)
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)
// assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345" // assume actor is: "actor": "https://codeberg.org/api/activitypub/user-id/12345"