Add basic typescript lib
This commit is contained in:
@@ -64,7 +64,7 @@ export const createTRPCContext = async (opts: CreateNextContextOptions) => {
|
||||
// Get the session from the server using the getServerSession wrapper function
|
||||
const session = await getServerAuthSession({ req, res });
|
||||
|
||||
const apiKey = req.headers["x-openpipe-api-key"] as string | null;
|
||||
const apiKey = req.headers["X-Openpipe-Api-Key"] as string | null;
|
||||
|
||||
console.log('api key is', apiKey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user