| 1 | import { v4 as uuid } from "uuid"; |
| 2 | |
| 3 | const handler = async () => ({ |
| 4 | statusCode: 200, |
| 5 | headers: { |
| 6 | "content-type": "application/json", |
| 7 | }, |
| 8 | body: JSON.stringify({ |
| 9 | id: uuid(), |
| 10 | }), |
| 11 | }); |
| 12 | |
| 13 | export { handler }; |
| 14 | export default handler; |