From 7a493cdce375d7db34886e505d0ce0611a4ba707 Mon Sep 17 00:00:00 2001 From: Udit Karode Date: Mon, 8 Aug 2022 00:03:46 +0530 Subject: [PATCH] fix(main): add double quotes to json keys --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c2d6fdf..83c6eb4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,7 @@ use warp::{http::Method, hyper::body::Bytes, path::FullPath, Filter}; const FOR_COPY: [&'static str; 1] = ["Content-Type"]; const BASE: &str = "https://www.bankofmaldives.com.mv/internetbanking/api/"; -const ERR: &str = "{ code: 407, message: \"Proxy failed\" }"; +const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }"; fn get_base_url() -> String { match var("BML_PROXY_BASE") {