mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-02 07:04:38 -04:00
adjust to ugly linting
This commit is contained in:
parent
a64ce2feb1
commit
7d78fb8adc
2 changed files with 4 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
// Copyright 2015 The Gogs Authors. All rights reserved.
|
||||
// Copyright 2016 The Gitea Authors. All rights reserved.
|
||||
// Copyright 2023 The forgejo Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// Package v1 Gitea API
|
||||
|
@ -900,7 +901,7 @@ func Routes() *web.Route {
|
|||
m.Post("/inbox", // ToDo: Post or Put?
|
||||
// TODO: bind ativities here
|
||||
bind(forgefed.Star{}),
|
||||
//activitypub.ReqHTTPSignature(),
|
||||
// TODO: activitypub.ReqHTTPSignature(),
|
||||
activitypub.RepositoryInbox)
|
||||
}, context_service.RepositoryIDAssignmentAPI())
|
||||
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue