Skip to content

Commit

Permalink
fix /ping wrong build type (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakumo-saki authored Mar 7, 2023
1 parent 1b0637b commit 0c7ced6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/api/basic_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ String http_normal_ping_json() {
doc["minorVer"] = minorVer;
doc["settingId"] = SETTING_ID;
doc["name"] = config->get(ConfigNames::MDNS);
doc["build"] = DEBUG_BUILD ? "Release" : "DEBUG";
doc["build"] = DEBUG_BUILD ? "DEBUG" : "Release";

if (OPERATING_MODE == OPERATING_MODE_NORMAL) {
doc["mode"] = "NORMAL";
Expand Down

0 comments on commit 0c7ced6

Please sign in to comment.