Skip to content

Commit d25ea19

Browse files
authored
fix(algolia): missing config param (#387)
1 parent e5d7bec commit d25ea19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function bootstrap(
102102
});
103103

104104
if (state.seq > 0 && state.bootstrapDone === true) {
105-
await algolia.putDefaultSettings(mainIndex);
105+
await algolia.putDefaultSettings(mainIndex, config);
106106
log.info('⛷ Bootstrap: done');
107107
return state;
108108
}
@@ -113,7 +113,7 @@ async function bootstrap(
113113
log.info('⛷ Bootstrap: starting from the first doc');
114114
// first time this launches, we need to remember the last seq our bootstrap can trust
115115
await stateManager.save({ seq });
116-
await algolia.putDefaultSettings(bootstrapIndex);
116+
await algolia.putDefaultSettings(bootstrapIndex, config);
117117
} else {
118118
log.info('⛷ Bootstrap: starting at doc %s', state.bootstrapLastId);
119119
}

0 commit comments

Comments
 (0)