Merge pull request #617 from kiwix/adapt_new_libzim_api

This commit is contained in:
Matthieu Gautier 2021-09-30 14:52:17 +02:00 committed by GitHub
commit e46b0c07b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ std::unique_ptr<Response> InternalServer::handle_search(const RequestContext& re
if (! searcher) { if (! searcher) {
searcher = std::make_shared<zim::Searcher>(*currentArchive); searcher = std::make_shared<zim::Searcher>(*currentArchive);
} else { } else {
searcher->add_archive(*currentArchive); searcher->addArchive(*currentArchive);
} }
} }
} }