feat: added route to log users out

This commit is contained in:
Balu Babu
2023-01-19 04:34:35 +05:30
parent c63bc28ca0
commit 813db4a985
2 changed files with 0 additions and 6 deletions

View File

@@ -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;
};