feat(platform): harden access scoping and delivery baseline
This commit is contained in:
@@ -25,7 +25,7 @@ export function TeamCalendar() {
|
||||
const firstDay = new Date(Date.UTC(year, month, 1));
|
||||
const daysInMonth = new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
|
||||
|
||||
const { data: resources } = trpc.resource.list.useQuery(
|
||||
const { data: resources } = trpc.resource.directory.useQuery(
|
||||
{ isActive: true, limit: 500, ...(chapter ? { chapter } : {}) },
|
||||
{ staleTime: 60_000 },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user