mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
Fix syntax error, unexpected new line
This commit is contained in:
parent
154be0a637
commit
511ab65df4
1 changed files with 3 additions and 3 deletions
|
@ -1088,7 +1088,7 @@ func Routes() *web.Route {
|
||||||
// requires repo scope
|
// requires repo scope
|
||||||
m.Combo("/repositories/{id}",
|
m.Combo("/repositories/{id}",
|
||||||
reqToken(),
|
reqToken(),
|
||||||
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository)
|
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository),
|
||||||
).Get(repo.GetByID)
|
).Get(repo.GetByID)
|
||||||
|
|
||||||
// Repos (requires repo scope)
|
// Repos (requires repo scope)
|
||||||
|
|
Loading…
Reference in a new issue