This commit is contained in:
neil 2023-01-17 20:29:06 +08:00
parent 7c08c39af6
commit a0292fa760

View file

@ -108,7 +108,7 @@ const getLocalSessionData = async (): Promise<Session | void> => {
if (!session) throw new Error('no session'); if (!session) throw new Error('no session');
data = session; data = session;
} catch (error) { } catch (error) {
console.error('register device:',error); console.error('register device:', error);
const deviceId = await registerDevice(); const deviceId = await registerDevice();
data = { data = {
device_id: deviceId device_id: deviceId