Fix updateTrendingTags param order
This commit is contained in:
parent
fb7b5b6056
commit
b50400cd3d
|
@ -10,14 +10,14 @@ import { Time } from '@/utils/time.ts';
|
||||||
const console = new Stickynotes('ditto:trends');
|
const console = new Stickynotes('ditto:trends');
|
||||||
|
|
||||||
async function updateTrendingTags(
|
async function updateTrendingTags(
|
||||||
tagName: string,
|
|
||||||
l: string,
|
l: string,
|
||||||
|
tagName: string,
|
||||||
kinds: number[],
|
kinds: number[],
|
||||||
limit: number,
|
limit: number,
|
||||||
extra = '',
|
extra = '',
|
||||||
aliases?: string[],
|
aliases?: string[],
|
||||||
) {
|
) {
|
||||||
console.info(`Updating trending #${tagName}...`);
|
console.info(`Updating trending ${l}...`);
|
||||||
const kysely = await DittoDB.getInstance();
|
const kysely = await DittoDB.getInstance();
|
||||||
const signal = AbortSignal.timeout(1000);
|
const signal = AbortSignal.timeout(1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue