Skip to content

Commit b9a6be5

Browse files
committed
fix: remove unused ()
1 parent 0876bc0 commit b9a6be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apisix/plugins/authz-keycloak.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,14 +320,14 @@ end
320320
-- Return access_token expires_in value (in seconds).
321321
local function authz_keycloak_access_token_expires_in(conf, expires_in)
322322
return (expires_in or conf.access_token_expires_in)
323-
- 1 - (conf.access_token_expires_leeway)
323+
- 1 - conf.access_token_expires_leeway
324324
end
325325

326326

327327
-- Return refresh_token expires_in value (in seconds).
328328
local function authz_keycloak_refresh_token_expires_in(conf, expires_in)
329329
return (expires_in or conf.refresh_token_expires_in)
330-
- 1 - (conf.refresh_token_expires_leeway)
330+
- 1 - conf.refresh_token_expires_leeway
331331
end
332332

333333

0 commit comments

Comments
 (0)