mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
hashtagTimelineController: toLowerCase
This commit is contained in:
parent
19ba7e74d6
commit
35ab012276
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ const publicTimelineController: AppController = (c) => {
|
|||
};
|
||||
|
||||
const hashtagTimelineController: AppController = (c) => {
|
||||
const hashtag = c.req.param('hashtag')!;
|
||||
const hashtag = c.req.param('hashtag')!.toLowerCase();
|
||||
const params = paginationSchema.parse(c.req.query());
|
||||
return renderStatuses(c, [{ kinds: [1], '#t': [hashtag], ...params }]);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue