diff --git a/apps/redditmon/src/components/posts/PostList/PostList.tsx b/apps/redditmon/src/components/posts/PostList/PostList.tsx index 95d6f2d0a..8a625bee2 100644 --- a/apps/redditmon/src/components/posts/PostList/PostList.tsx +++ b/apps/redditmon/src/components/posts/PostList/PostList.tsx @@ -123,7 +123,7 @@ export default function PostList() { )} -
+
{ + // TODO: This fetch is not secure, anyone with the slug can fetch it! return await prisma.project.findUnique({ include: { subredditKeywords: true, @@ -129,7 +130,7 @@ export const projectRouter = router({ if (response.status === 429) { throw new TRPCError({ code: 'INTERNAL_SERVER_ERROR', - message: `Failed to fetch subreddits. Reddit API rate limit exceeded! Please try again some time.`, + message: `Failed to fetch subreddits. Reddit API rate limit exceeded! Please try again after some time.`, }); } if (!response.ok) {