AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix id not preserved through airtable oauth refresh (#10573)
Swifty377b5ef01cfb
diff --git a/autogpt_platform/backend/backend/blocks/airtable/_oauth.py b/autogpt_platform/backend/backend/blocks/airtable/_oauth.pyindex 18771fd5bb..9cd69ec3de 100644--- a/autogpt_platform/backend/backend/blocks/airtable/_oauth.py+++ b/autogpt_platform/backend/backend/blocks/airtable/_oauth.py@@ -159,6 +159,7 @@ class AirtableOAuthHandler(BaseOAuthHandler):logger.info("Successfully refreshed tokens")new_credentials = OAuth2Credentials(+ id=credentials.id,access_token=SecretStr(response.access_token),refresh_token=SecretStr(response.refresh_token),access_token_expires_at=int(time.time()) + response.expires_in,