Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

Fix syntax error, unexpected new line

This commit is contained in:
Mirco 2023-10-24 10:34:53 +02:00 committed by Michael Jerger
parent 154be0a637
commit 511ab65df4

View file

@ -1088,7 +1088,7 @@ func Routes() *web.Route {
// requires repo scope
m.Combo("/repositories/{id}",
reqToken(),
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository)
tokenRequiresScopes(auth_model.AccessTokenScopeCategoryRepository),
).Get(repo.GetByID)
// Repos (requires repo scope)