Fixed spacing/removed errant tab
This commit is contained in:
parent
ebc1decb10
commit
550722061f
1 changed files with 2 additions and 2 deletions
|
@ -2800,8 +2800,8 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
// Check for API key in the params
|
||||
auto auth_param = req.get_param_value("key");
|
||||
// Check for API key in the params
|
||||
auto auth_param = req.get_param_value("key");
|
||||
if (std::find(keys.begin(), keys.end(), auth_param) != keys.end()) {
|
||||
return true; // API key is valid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue