mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
Store correct field name for search index updates
This commit is contained in:
parent
5169b94708
commit
42cac02806
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ export async function recordSearchIndexUpdates(
|
|||
const update_timestamp = Math.floor(Date.now() / 1000);
|
||||
|
||||
await knex("algolia_field_updates").insert(
|
||||
Object.keys(fields).map((field) => ({
|
||||
fields.map((field) => ({
|
||||
skin_md5: md5,
|
||||
update_timestamp,
|
||||
field,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue