mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:41:27 +01:00
Add ToDos
This commit is contained in:
parent
d2b464582f
commit
d7abff31f6
1 changed files with 2 additions and 2 deletions
|
@ -897,11 +897,11 @@ func Routes() *web.Route {
|
||||||
}, context_service.UserIDAssignmentAPI())
|
}, context_service.UserIDAssignmentAPI())
|
||||||
m.Group("/repository-id/{repository-id}", func() {
|
m.Group("/repository-id/{repository-id}", func() {
|
||||||
m.Get("", activitypub.Repository)
|
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
|
// TODO: bind ativities here
|
||||||
bind(forgefed.Star{}),
|
bind(forgefed.Star{}),
|
||||||
//activitypub.ReqHTTPSignature(),
|
//activitypub.ReqHTTPSignature(),
|
||||||
activitypub.RepositoryInbox)
|
activitypub.RepositoryInbox) // ToDo: We may need to use another method to add a star to the repo
|
||||||
}, context_service.RepositoryIDAssignmentAPI())
|
}, context_service.RepositoryIDAssignmentAPI())
|
||||||
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
|
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue