From 18568cd36abfd458ab83f17eb49a96924539d81c Mon Sep 17 00:00:00 2001 From: Aligator77 Date: Thu, 17 Oct 2019 12:47:02 +0300 Subject: [PATCH] Update DDManagerStreaming.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Убрал then, затем, что он только тормозит процесс отправки данных(в ответ мы все равно ничего не получим) --- src/integrations/DDManagerStreaming.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/integrations/DDManagerStreaming.js b/src/integrations/DDManagerStreaming.js index 6f407cb..3be0a1b 100644 --- a/src/integrations/DDManagerStreaming.js +++ b/src/integrations/DDManagerStreaming.js @@ -383,10 +383,6 @@ class DDManagerStreaming extends Integration { credentials: 'include', mode: 'cors', body: JSON.stringify(hitData) - }).then((response) => { - if (response.ok) { - // window.localStorage.removeItem(this.getCacheKey(hitData.hitId)); - } }).catch((e) => { warn(e) })