mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
6 lines
151 B
TypeScript
6 lines
151 B
TypeScript
import { withSessionRoute } from "utils/auth";
|
|
|
|
export default withSessionRoute((req, res) => {
|
|
req.session.destroy();
|
|
res.send({ ok: true });
|
|
});
|