Skip to content

Commit

Permalink
Added more tests
Browse files Browse the repository at this point in the history
Signed-off-by: NishantSinghhhhh <[email protected]>
  • Loading branch information
NishantSinghhhhh committed Feb 1, 2025
1 parent 2d7a2ad commit 268fc61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphql/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export type ImplicitMercuriusContext = {
/**
* Type of the payload encoded into or decoded from the authentication json web token.
*/
// src/context.ts
export type ExplicitAuthenticationTokenPayload = {
user: Pick<typeof usersTable.$inferSelect, "id">; // 🔴 Add 'role'
user: Pick<typeof usersTable.$inferSelect, "id">;
};

/**
* Type of the client-specific context for a grahphql operation client.
*/
Expand Down

0 comments on commit 268fc61

Please sign in to comment.