From 67aa31de8f82b496619515774181db76e3b67b7a Mon Sep 17 00:00:00 2001 From: dorsha Date: Mon, 18 Dec 2023 16:17:02 +0200 Subject: [PATCH] Fix lint --- descope/internal/auth/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/descope/internal/auth/auth.go b/descope/internal/auth/auth.go index c8099b26..bf2dde68 100644 --- a/descope/internal/auth/auth.go +++ b/descope/internal/auth/auth.go @@ -350,7 +350,7 @@ func (auth *authenticationService) GetMatchedPermissions(ctx context.Context, to return auth.GetMatchedTenantPermissions(ctx, token, "", permissions) } -func (auth *authenticationService) ValidateTenantPermissions(ctx context.Context, token *descope.Token, tenant string, permissions []string) bool { +func (auth *authenticationService) ValidateTenantPermissions(_ context.Context, token *descope.Token, tenant string, permissions []string) bool { if tenant != "" && !isAssociatedWithTenant(token, tenant) { return false } @@ -363,7 +363,7 @@ func (auth *authenticationService) ValidateTenantPermissions(ctx context.Context return true } -func (auth *authenticationService) GetMatchedTenantPermissions(ctx context.Context, token *descope.Token, tenant string, permissions []string) []string { +func (auth *authenticationService) GetMatchedTenantPermissions(_ context.Context, token *descope.Token, tenant string, permissions []string) []string { if tenant != "" && !isAssociatedWithTenant(token, tenant) { return []string{} }