Fix syntax error, unexpected new line
This commit is contained in:
parent
154be0a637
commit
511ab65df4
1 changed files with 3 additions and 3 deletions
|
@ -1086,9 +1086,9 @@ func Routes() *web.Route {
|
|||
repo.CreateOrgRepoDeprecated)
|
||||
|
||||
// requires repo scope
|
||||
m.Combo("/repositories/{id}",
|
||||
reqToken(),
|
||||
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository)
|
||||
m.Combo("/repositories/{id}",
|
||||
reqToken(),
|
||||
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository),
|
||||
).Get(repo.GetByID)
|
||||
|
||||
// Repos (requires repo scope)
|
||||
|
|
Loading…
Reference in a new issue