diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 43c90e136a..7d29076204 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -897,11 +897,11 @@ func Routes() *web.Route { }, context_service.UserIDAssignmentAPI()) m.Group("/repository-id/{repository-id}", func() { m.Get("", activitypub.Repository) - m.Post("/inbox", + m.Post("/inbox", // ToDo: We may want a m.Patch method here, as we are not replacing stars // TODO: bind ativities here bind(forgefed.Star{}), //activitypub.ReqHTTPSignature(), - activitypub.RepositoryInbox) + activitypub.RepositoryInbox) // ToDo: We may need to use another method to add a star to the repo }, context_service.RepositoryIDAssignmentAPI()) }, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub)) }