feat(platform): harden access scoping and delivery baseline
This commit is contained in:
@@ -6,7 +6,7 @@ import { auth } from "./auth.js";
|
||||
|
||||
/**
|
||||
* Server-side tRPC caller for RSC.
|
||||
* Usage: const trpc = await createCaller(); const result = await trpc.resource.list({});
|
||||
* Usage: const trpc = await createCaller(); const result = await trpc.resource.directory({});
|
||||
*/
|
||||
export async function createCaller() {
|
||||
const session = await auth();
|
||||
|
||||
Reference in New Issue
Block a user