mirror of
https://github.com/typesense/typesense.git
synced 2025-05-20 05:32:30 +08:00
Fix syntax error.
This commit is contained in:
parent
80057b9071
commit
940f7550be
@ -34,7 +34,7 @@ bool handle_authentication(const route_path & rpath, const std::string & auth_ke
|
||||
CollectionManager & collectionManager = CollectionManager::get_instance();
|
||||
|
||||
return collectionManager.auth_key_matches(auth_key) ||
|
||||
(rpath.handler == get_search && collectionManager.search_only_auth_key_matches(auth_key))
|
||||
(rpath.handler == get_search && collectionManager.search_only_auth_key_matches(auth_key));
|
||||
}
|
||||
|
||||
void get_collections(http_req & req, http_res & res) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user