I am following the ConnectyCube API documentation and it tells me to format an object like this when using Firebase credentials:
const userCredentials = {
provider: 'firebase_phone',
firebase_phone[project_id]: projectId,
firebase_phone[access_token]: idToken,
};
Of course the app won't compile because you can't use square brackets like this, it throws a linting error.
I have tried getting rid of it but it doesn't work, what are they trying to tell me to do?