forked from kevadesu/forgejo
Start NodeInfo implementation
This commit is contained in:
parent
3c2493902d
commit
310d740cee
5 changed files with 167 additions and 48 deletions
|
@ -90,6 +90,10 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
log.Info("RepositoryInbox: activity:%v", activity)
|
||||
|
||||
// parse actorID (person)
|
||||
// rawActorID, err := forgefed.NewActorID(activity.Actor.GetID().String())
|
||||
|
||||
// nodeInfo, err := createNodeInfo(rawActorID)
|
||||
|
||||
actorID, err := forgefed.NewPersonID(activity.Actor.GetID().String(), string(activity.Source))
|
||||
if err != nil {
|
||||
ctx.ServerError("Validate actorId", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue