✨ Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer Closes #211
This commit is contained in:
@@ -27,7 +27,7 @@ export const getAuthenticatedGoogleClient = async (
|
||||
) as GoogleSheetsCredentialsData
|
||||
|
||||
oauth2Client.setCredentials(data)
|
||||
oauth2Client.on('tokens', updateTokens(credentialsId, data))
|
||||
oauth2Client.on('tokens', updateTokens(credentials.id, data))
|
||||
return { client: oauth2Client, credentials }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user