Fix updateTrendingTags param order

This commit is contained in:
Alex Gleason 2024-06-05 21:38:34 -05:00
parent fb7b5b6056
commit b50400cd3d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 2 deletions

View File

@ -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);