From ebe85bdc005ec954daacacf204c7b81b1c30923d Mon Sep 17 00:00:00 2001
From: Miupro <micheldatz@outlook.de>
Date: Sun, 31 Oct 2021 06:39:02 +0100
Subject: [PATCH 1/2] Update interactive_maps.py

---
 apis/interactive_maps.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apis/interactive_maps.py b/apis/interactive_maps.py
index e0533af..bd6725b 100644
--- a/apis/interactive_maps.py
+++ b/apis/interactive_maps.py
@@ -9,7 +9,12 @@ class SwissMap:
     # Returns travel map of customer as html string
     def travel_history_map(self, customer_id, travel_history):
         local_m = self.m
+
+        counter = 0 # introduce counter for better overview 
         for e in travel_history:
+            counter += 1
+            if counter > 5:
+                break
             place, coordinates = e.location_name, e.location_coordinates
             folium.Marker(
                 location=coordinates, # coordinates for the marker

From 600034b85b41a97238dacc74576dc5783133d40d Mon Sep 17 00:00:00 2001
From: Miupro <micheldatz@outlook.de>
Date: Sun, 31 Oct 2021 06:59:12 +0100
Subject: [PATCH 2/2] Update dummy_data.py

---
 dummy_data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dummy_data.py b/dummy_data.py
index eba5fe2..52f7173 100644
--- a/dummy_data.py
+++ b/dummy_data.py
@@ -96,5 +96,5 @@ def populate_data(Users, Events):
     u = Users.get_by_id(239842123)
 
     for e in Events[2:5]:
-        e.add_review(text="Nice view, good weather. Would recommend.", rating=random.randint(0,5))
+        e.add_review(text="Nice view, good weather. Would recommend.", rating=random.randint(4,5))
         u.travel_history.append(e)
\ No newline at end of file