Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
ptruong0 committed May 8, 2024
1 parent b50cc60 commit 93058b7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions api/src/helpers/trpc.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import * as trpcExpress from '@trpc/server/adapters/express';
import { TRPCError, initTRPC } from '@trpc/server';
import type { PassportData } from 'express-session';

interface CustomRequest extends Request {
session: {
passport: PassportData;
passport: {
admin: boolean;
user: {
id: string;
email: string;
name: string;
picture: string;
};
};
};
}

Expand Down

0 comments on commit 93058b7

Please sign in to comment.