`(async () => { await api.getToken(); const uid = await api.putUser({ countryCode: '**', username: '****************@gmail.com', password: '****************', usernameType: 2}); --->const token = await api.getDeviceToken({uid, timezone: 'Austria/Vienna'}); Token invalid right here console.log(await api.getDevicesByToken(token)); })();` Im always getting a Invalid Token error msg but i cant figure out why. Can anyone help?
`(async () => {
await api.getToken();
const uid = await api.putUser({
countryCode: '**',
username: '@gmail.com',
password: '',
usernameType: 2});
--->const token = await api.getDeviceToken({uid, timezone: 'Austria/Vienna'});
Token invalid right here
console.log(await api.getDevicesByToken(token));
})();`
Im always getting a Invalid Token error msg but i cant figure out why.
Can anyone help?