Identação de codigo
parent
f00220ff37
commit
bec2d612b3
|
@ -25,8 +25,8 @@ export const update = async (
|
|||
req: Request,
|
||||
res: Response
|
||||
): Promise<Response> => {
|
||||
const token: string = req.cookies.jrt;
|
||||
|
||||
const token: string = req.cookies.jrt;
|
||||
|
||||
if (!token) {
|
||||
throw new AppError("ERR_SESSION_EXPIRED", 401);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue