Merge branch 'hashtag-lower' into 'main'
hashtagTimelineController: toLowerCase See merge request soapbox-pub/ditto!198
This commit is contained in:
commit
1d3b06958b
|
@ -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…
Reference in New Issue