From 08e7f8cd3af612ac40580b42bc17a8319377ab52 Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Sun, 11 Mar 2018 19:03:40 +0200 Subject: [PATCH] quick bugfix for auth --- .../cc/ui/src/components/map/preview-pane/PreviewPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js b/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js index bffa8adb4..64b228332 100644 --- a/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js +++ b/monkey_island/cc/ui/src/components/map/preview-pane/PreviewPane.js @@ -103,7 +103,7 @@ class PreviewPaneComponent extends AuthComponent { } downloadLog(asset) { - fetch('/api/log?id=' + asset.id) + this.authFetch('/api/log?id=' + asset.id) .then(res => res.json()) .then(res => { let timestamp = res['timestamp'];