mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-20 05:41:29 -04:00
In `messaging-gmail-messages-import.service`, we were refreshing the access token before each query but we were passing the old access token to `fetchAllMessages`. I modified the function to query the updated connectedAccount with the new access token. This will solve the 401 errors we were getting in production.