feat: added route to log users out
This commit is contained in:
@@ -160,8 +160,3 @@ export const authCookieHandler = (
|
||||
res.status(HttpStatus.OK).redirect('http://localhost:3170/graphql');
|
||||
} else res.status(HttpStatus.OK).send();
|
||||
};
|
||||
|
||||
export const checkNullability = (data: string | undefined | null) => {
|
||||
if (!data) return null;
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user