debug update

master
adb-sh 2 years ago
parent f87eb4dcdd
commit a33ccca5a2

@ -16,7 +16,7 @@ export const createLocalUser = async ({ refreshToken = undefined, code = undefin
async onRefresh() { async onRefresh() {
await UserStore.findOneAndUpdate( await UserStore.findOneAndUpdate(
{ 'spotify.userId': client.user.id }, { 'spotify.userId': client.user.id },
{ spotify: { refreshToken: client.refreshMeta.refreshToken } } { 'spotify.refreshToken': client.refreshMeta.refreshToken },
); );
}, },
}); });

Loading…
Cancel
Save