mirror of
https://github.com/BertoldVdb/ZoneDetect.git
synced 2026-04-27 14:57:40 +00:00
Repair bad commit
This commit is contained in:
parent
5cdc5c9722
commit
2f8dcc91f1
1 changed files with 1 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ invocation_response zd_handler(invocation_request const& request) {
|
||||||
|
|
||||||
json result;
|
json result;
|
||||||
int blocked = 0;
|
int blocked = 0;
|
||||||
|
int compact = 0;
|
||||||
|
|
||||||
if(param.count("obs")) {
|
if(param.count("obs")) {
|
||||||
auto obs = static_cast<std::time_t>(std::stol(param["obs"].get<std::string>(), nullptr));
|
auto obs = static_cast<std::time_t>(std::stol(param["obs"].get<std::string>(), nullptr));
|
||||||
|
|
@ -40,7 +41,6 @@ invocation_response zd_handler(invocation_request const& request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!blocked) {
|
if(!blocked) {
|
||||||
int compact = 0;
|
|
||||||
if(param.count("c")) {
|
if(param.count("c")) {
|
||||||
compact = std::stoi(param["c"].get<std::string>());
|
compact = std::stoi(param["c"].get<std::string>());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue