| 33 | } |
| 34 | |
| 35 | interface user { |
| 36 | id: string; |
| 37 | name: string; |
| 38 | email: string; |
| 39 | token: string; |
| 40 | } |
| 41 | |
| 42 | const generateJWT = async (payload: JWTPayload) => { |
| 43 | const secret = process.env.JWT_SECRET || 'secret'; |
nothing calls this directly
no outgoing calls
no test coverage detected