From dd5b606ef8c3cd6edd3a606cec56d5a3d9094a37 Mon Sep 17 00:00:00 2001
From: "maor.rayzin" <maorrayzin@guardicore.com>
Date: Tue, 24 Jul 2018 14:54:12 +0300
Subject: [PATCH] * wrong endpoint fix

---
 monkey_island/cc/app.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/monkey_island/cc/app.py b/monkey_island/cc/app.py
index a965ab070..c185ada29 100644
--- a/monkey_island/cc/app.py
+++ b/monkey_island/cc/app.py
@@ -19,7 +19,7 @@ from cc.resources.monkey_configuration import MonkeyConfiguration
 from cc.resources.monkey_download import MonkeyDownload
 from cc.resources.netmap import NetMap
 from cc.resources.pthmap import PthMap
-from cc.resources.pthreport import Report
+from cc.resources.pthreport import PTHReport
 from cc.resources.node import Node
 from cc.resources.report import Report
 from cc.resources.root import Root
@@ -107,6 +107,6 @@ def init_app(mongo_url):
     api.add_resource(TelemetryFeed, '/api/telemetry-feed', '/api/telemetry-feed/')
     api.add_resource(Log, '/api/log', '/api/log/')
     api.add_resource(PthMap, '/api/pthmap', '/api/pthmap/')
-    api.add_resource(Report, '/api/pthreport', '/api/pthreport/')
+    api.add_resource(PTHReport, '/api/pthreport', '/api/pthreport/')
 
     return app