Skip to content

Commit

Permalink
temporarily hardcore catalog year
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Aug 20, 2024
1 parent 107aed6 commit 61199ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/trpc/router/courses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { router, publicProcedure } from '../trpc';

export const coursesRouter = router({
publicGetAllCourses: publicProcedure.query(async () => {
return await courseCache.getCourses(new Date().getFullYear());
return await courseCache.getCourses(2023);
}),
publicGetSanitizedCourses: publicProcedure.query(async ({ ctx }) => {
const courses = await ctx.platformPrisma.courses.findMany({
Expand Down

0 comments on commit 61199ec

Please sign in to comment.