mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00:00
Get Activity field from star
This commit is contained in:
parent
e8013250b8
commit
f48b4d1f55
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue