From b758feebb4a5b7f1cd954307b473b2e786d7d641 Mon Sep 17 00:00:00 2001
From: jaypae95 <jaypae95@hbsmith.io>
Date: Mon, 9 Dec 2019 03:03:49 +0900
Subject: [PATCH] fixed request param struct

---
 src/views/MakePlan.vue | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/views/MakePlan.vue b/src/views/MakePlan.vue
index 1ba5501..04adb43 100644
--- a/src/views/MakePlan.vue
+++ b/src/views/MakePlan.vue
@@ -142,9 +142,7 @@ export default {
       })
     },
     makeTour (idx) {
-      this.tours.push({
-        place_id: idx.place_id
-      })
+      this.tours.push(idx.place_id)
       this.placeNames.push({
         place_name: idx.place_name
       })
@@ -152,7 +150,7 @@ export default {
     addTour () {
       const data = {
         city_id: cc,
-        place_id: this.tours,
+        place_id: this.tours
       }
       const data2 = {
         day: dayNum,
-- 
GitLab