wip: lets define the post input more close

This commit is contained in:
Michael Jerger 2023-11-06 08:50:36 +01:00
parent 6587b6d62b
commit 7195141805
2 changed files with 53 additions and 0 deletions

View file

@ -897,6 +897,7 @@ func Routes() *web.Route {
m.Group("/repository-id/{repository-id}", func() {
m.Get("", activitypub.Repository)
m.Post("/inbox",
bind(api.CreateRepoOption{}),
//activitypub.ReqHTTPSignature(),
activitypub.RepositoryInbox)
}, context_service.RepositoryIDAssignmentAPI())