SHA256
Добавить импорт архивов с доверенных серверов
This commit is contained in:
@@ -1077,6 +1077,14 @@ export class AuthService {
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
async getArchiveBlockchainLocation(blockchainName) {
|
||||
const cleanBlockchainName = String(blockchainName || '').trim();
|
||||
if (!cleanBlockchainName) throw new Error('Не указано имя блокчейна');
|
||||
const response = await this.ws.request('GetArchiveBlockchainLocation', { blockchainName: cleanBlockchainName });
|
||||
if (response.status !== 200) throw opError('GetArchiveBlockchainLocation', response);
|
||||
return response.payload || response || {};
|
||||
}
|
||||
|
||||
async resolveLoginForAuth(login) {
|
||||
const cleanLogin = String(login || '').trim();
|
||||
if (!cleanLogin) throw new Error('Введите логин');
|
||||
|
||||
Reference in New Issue
Block a user