mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
we got a parsed actor
This commit is contained in:
parent
b08580280a
commit
1044e44ee5
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue