mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-27 10:14:39 +01:00
hashtagTimelineController: toLowerCase
This commit is contained in:
@@ -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 }]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user