Refactored config/options based on feedback
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
a678795d25
commit
90aca31689
@@ -39,7 +39,7 @@ async function createSearchEngine(
|
||||
}
|
||||
|
||||
if (await PgSearchEngine.supported(env.database)) {
|
||||
return await PgSearchEngine.from({
|
||||
return await PgSearchEngine.fromConfig({
|
||||
database: env.database,
|
||||
config: env.config,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user