SHA256
Обновить pairing устройств и доработать ESP32 UI
This commit is contained in:
@@ -362,7 +362,7 @@ async function startPairing({ login, usePassword, password }) {
|
||||
|
||||
state.pairingId = String(payload?.pairingId || '').trim();
|
||||
state.expiresAtMs = Number(payload?.expiresAtMs || 0);
|
||||
state.shortCode = String(payload?.shortCode || '0000000');
|
||||
state.shortCode = String(payload?.shortCode || '');
|
||||
state.trustedSessionOnline = !!payload?.trustedSessionOnline;
|
||||
if (!state.pairingId) {
|
||||
throw new Error('Сервер не вернул pairingId.');
|
||||
@@ -375,7 +375,7 @@ async function startPairing({ login, usePassword, password }) {
|
||||
setStatus('Wallet-session заявка создана. Ожидаем подтверждение на доверенном устройстве.', 'info');
|
||||
return {
|
||||
pairingId: state.pairingId,
|
||||
shortCode: String(payload?.shortCode || '0000000'),
|
||||
shortCode: String(payload?.shortCode || ''),
|
||||
expiresAtMs: state.expiresAtMs,
|
||||
trustedSessionOnline: !!payload?.trustedSessionOnline,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user