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