fix(main): add double quotes to json keys

This commit is contained in:
Udit Karode 2022-08-08 00:03:46 +05:30
parent 699c3c07b1
commit 7a493cdce3
No known key found for this signature in database
GPG Key ID: 864BAA48465205F0

View File

@ -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") {