From 511ab65df4fb6a662e66b3dfcfcbd8c9035be291 Mon Sep 17 00:00:00 2001 From: Mirco Date: Tue, 24 Oct 2023 10:34:53 +0200 Subject: [PATCH] Fix syntax error, unexpected new line --- routers/api/v1/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 1af3252458..ce4e040854 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -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)