mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Add ToDos from code review
This commit is contained in:
parent
34c511ae98
commit
8300d3fbde
2 changed files with 6 additions and 6 deletions
|
@ -86,9 +86,8 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
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.
|
||||
// TODO: validate input in front of parsing.
|
||||
// parse actor
|
||||
actor, err := activitypub.ParseActorID(opt.Actor.GetID().String())
|
||||
actor, err := activitypub.ParseActorID(opt.Actor.GetID().String()) // ToDo: somehow extract source from star activity
|
||||
|
||||
// Is the actor IRI well formed?
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue