From 003fa5e747722049f023c20f535110e7f72ebdb8 Mon Sep 17 00:00:00 2001
From: Jaden Diefenbaugh <blakcap@users.noreply.github.com>
Date: Mon, 24 Apr 2017 11:16:27 +0200
Subject: [PATCH] rm alias_experiments from report data, not used anymore

---
 beat/web/reports/api.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/beat/web/reports/api.py b/beat/web/reports/api.py
index 0d1b37bd1..6d06e1f38 100644
--- a/beat/web/reports/api.py
+++ b/beat/web/reports/api.py
@@ -204,13 +204,6 @@ class ReportDetailView(generics.RetrieveUpdateDestroyAPIView):
 
         if self.kwargs.has_key('number') and report.status == Report.LOCKED:
             data["anonymous"] = True
-            data["experiments"] = map(lambda x:data["content"]["alias_experiments"][x], data["experiments"])
-
-            data_alias_experiments = {}
-            for experiment in data["experiments"]:
-                data_alias_experiments[experiment] = experiment
-
-            data["content"]["alias_experiments"] = data_alias_experiments
 
         return Response(data)
 
-- 
GitLab