refactor: add field to type
This commit is contained in:
parent
0e2cc3cb21
commit
f753f8dec2
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import type { Request } from "express";
|
||||||
|
|
||||||
export type RequestWithUser = Request & {
|
export type RequestWithUser = Request & {
|
||||||
user: {
|
user: {
|
||||||
|
sub: string;
|
||||||
name: string;
|
name: string;
|
||||||
given_name: string;
|
given_name: string;
|
||||||
familiy_name: string;
|
familiy_name: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue