mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
add comment
This commit is contained in:
parent
5729cee3e5
commit
5c998a5c46
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ func RepositoryInbox(ctx *context.APIContext) {
|
||||||
log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor)
|
log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor)
|
||||||
|
|
||||||
// assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary.
|
// assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary.
|
||||||
|
// TODO: validate input in front of parsing.
|
||||||
// parse actor
|
// parse actor
|
||||||
actor, err := activitypub.ParseActorData(opt.Actor.GetID().String())
|
actor, err := activitypub.ParseActorData(opt.Actor.GetID().String())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue