Fis logic in has() in HTTPSession.

This commit is contained in:
Relintai 2022-01-09 15:48:54 +01:00
parent 7323c38776
commit e728d826f1

View File

@ -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) {