From 196652762ff143b6941f94606a5a8aab8622679e Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 13 Sep 2021 12:38:09 +0200 Subject: [PATCH] pushmsg: Remove debug statement. --- pushmsg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pushmsg.cpp b/pushmsg.cpp index a976fc3..2405afa 100644 --- a/pushmsg.cpp +++ b/pushmsg.cpp @@ -87,9 +87,9 @@ int main(int argc, char *argv[]) const nlohmann::json json{{"title", message.title}, {"message", message.body}, {"priority", message.priority}}; - std::cout << json.dump() << '\n'; - auto response{ + const auto response{ conn.post("/message?token=" + message.token, json.dump())}; + switch (response.code) { case 200: