mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
trendingStatusesController: enforce kind 1 events
This commit is contained in:
parent
6a4fc7b6ba
commit
9d2194a928
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ const trendingStatusesController: AppController = async (c) => {
|
||||||
return c.json([]);
|
return c.json([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
const results = await store.query([{ ids }])
|
const results = await store.query([{ kinds: [1], ids }])
|
||||||
.then((events) => hydrateEvents({ events, store }));
|
.then((events) => hydrateEvents({ events, store }));
|
||||||
|
|
||||||
// Sort events in the order they appear in the label.
|
// Sort events in the order they appear in the label.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue