Fix method call for new libzim API.

`add_archive` is now `addArchive`.
This commit is contained in:
Matthieu Gautier 2021-09-29 11:55:22 +02:00
parent 3b942bb745
commit cd9fb541fc
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);
} }
} }
} }