diff --git a/slack_bolt/authorization/async_authorize.py b/slack_bolt/authorization/async_authorize.py index d7cc19a50..09aa9c179 100644 --- a/slack_bolt/authorization/async_authorize.py +++ b/slack_bolt/authorization/async_authorize.py @@ -209,7 +209,7 @@ async def __call__( raise BoltError(self._config_error_message) refreshed = await self.token_rotator.perform_token_rotation( installation=installation, - token_rotation_expiration_minutes=self.token_rotation_expiration_minutes, + minutes_before_expiration=self.token_rotation_expiration_minutes, ) if refreshed is not None: await self.installation_store.async_save(refreshed)