From 4c5c6cdf8aaeaf7787377d6d18c90da50d739c12 Mon Sep 17 00:00:00 2001 From: ilyarudziak Date: Thu, 14 Nov 2024 00:30:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D1=8B=20SaluteSpeech=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ext/Form/Module.bsl" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/lib/Video/\320\240\320\260\320\261\320\276\321\202\320\260\320\241\320\222\320\270\320\264\320\265\320\276/Forms/\320\244\320\276\321\200\320\274\320\260/Ext/Form/Module.bsl" "b/lib/Video/\320\240\320\260\320\261\320\276\321\202\320\260\320\241\320\222\320\270\320\264\320\265\320\276/Forms/\320\244\320\276\321\200\320\274\320\260/Ext/Form/Module.bsl" index 253afb5bfc..2b556be97d 100644 --- "a/lib/Video/\320\240\320\260\320\261\320\276\321\202\320\260\320\241\320\222\320\270\320\264\320\265\320\276/Forms/\320\244\320\276\321\200\320\274\320\260/Ext/Form/Module.bsl" +++ "b/lib/Video/\320\240\320\260\320\261\320\276\321\202\320\260\320\241\320\222\320\270\320\264\320\265\320\276/Forms/\320\244\320\276\321\200\320\274\320\260/Ext/Form/Module.bsl" @@ -3032,7 +3032,7 @@ КонецЕсли; - Соединение = Новый HTTPСоединение("salute.online.sberbank.ru" + Соединение = Новый HTTPСоединение("ngw.devices.sberbank.ru" , 9443 , , @@ -3045,7 +3045,7 @@ Заголовки.Вставить("Content-Type", "application/x-www-form-urlencoded"); Запрос = Новый HTTPЗапрос("api/v2/oauth", Заголовки); - Запрос.УстановитьТелоИзСтроки("scope=SBER_SPEECH"); + Запрос.УстановитьТелоИзСтроки("scope=SALUTE_SPEECH_PERS"); Результат = Соединение.ОтправитьДляОбработки(Запрос);