9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
import auth0 from "../../../lib/auth0";
|
|
import { withErrorHandling } from "../../../lib/apiHelpers";
|
|
|
|
const logout = withErrorHandling(async (req, res) => {
|
|
await auth0.handleLogout(req, res);
|
|
});
|
|
|
|
export default logout;
|