mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fis logic in has() in HTTPSession.
This commit is contained in:
parent
7323c38776
commit
e728d826f1
@ -16,7 +16,7 @@ void HTTPSession::remove(const String &key) {
|
||||
_mutex.unlock();
|
||||
}
|
||||
bool HTTPSession::has(const String &key) {
|
||||
return _data[key].is_null();
|
||||
return !_data[key].is_null();
|
||||
}
|
||||
|
||||
Variant HTTPSession::get(const String &key) {
|
||||
|
Loading…
Reference in New Issue
Block a user