Fixed obsolete search update sync table name.
This commit is contained in:
@@ -6,7 +6,7 @@ const unprint = require('unprint');
|
|||||||
const knex = require('./knex');
|
const knex = require('./knex');
|
||||||
|
|
||||||
async function syncWeb(domain, ids) {
|
async function syncWeb(domain, ids) {
|
||||||
await knex('queue').insert({ domain, item_ids: ids });
|
await knex('sync').insert({ domain, item_ids: ids });
|
||||||
|
|
||||||
if (config.webApi.enabled) {
|
if (config.webApi.enabled) {
|
||||||
await unprint.post(`${config.webApi.address}/sync`, null, {
|
await unprint.post(`${config.webApi.address}/sync`, null, {
|
||||||
|
|||||||
Reference in New Issue
Block a user