summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 2f3a34e..0a8fc54 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -370,6 +370,9 @@ async fn main() -> Result<(), ureq::Error> {
})
.collect::<Vec<&String>>()
});
+ if cli.debug {
+ println!("{}", serde_json::to_string(&travelynx).unwrap());
+ }
let resp: serde_json::Value = exiting_post_request(
&format!("{}/api/v1/import", cli.baseurl),
travelynx,