From 95eb7b86c9b0ebfecc17ab985a9c6bd8c41a6a1b Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Mon, 16 Sep 2019 14:30:37 +0530 Subject: [PATCH] :bug: Fixed a typo which broke cURL import feature --- pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index dc61e9b7c..5cb8cb8c3 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -642,7 +642,7 @@ requestString.push(" -H 'Content-Type: " + this.contentType + "; charset=utf-8' \\\n") requestString.push(" -d '" + requestBody + "' \\\n") } - return requestString.join('').slice(0, -4); + return requestString.join('').slice(0, -3); } } },