From 06f915397668ed1cd23ae67f43d2677db8f896be Mon Sep 17 00:00:00 2001 From: itay Date: Tue, 23 Apr 2019 12:28:38 +0300 Subject: [PATCH] fix fetch call --- .../cc/ui/src/components/side-menu/VersionComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/side-menu/VersionComponent.js b/monkey/monkey_island/cc/ui/src/components/side-menu/VersionComponent.js index 2921db983..1246b5b94 100644 --- a/monkey/monkey_island/cc/ui/src/components/side-menu/VersionComponent.js +++ b/monkey/monkey_island/cc/ui/src/components/side-menu/VersionComponent.js @@ -12,7 +12,7 @@ class VersionComponent extends React.Component { } componentDidMount() { - this.fetch('/api/version-update') // This is not authenticated on purpose + fetch('/api/version-update') // This is not authenticated on purpose .then(res => res.json()) .then(res => { this.setState({