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