mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Specify primary key
This commit is contained in:
parent
755ab39ba0
commit
6c7cf90c5b
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ export default hasConfig ? {
|
|||
|
||||
logger.info("Indexing notes in MeiliSearch: " + indexingIDs.join(","));
|
||||
|
||||
return posts.addDocuments(indexingBatch);
|
||||
return posts.addDocuments(indexingBatch, {
|
||||
primaryKey: "id"
|
||||
});
|
||||
},
|
||||
serverStats: async () => {
|
||||
let health : Health = await client.health();
|
||||
|
|
Loading…
Add table
Reference in a new issue