2022-04-09 07:58:53 +00:00
|
|
|
import axios from "axios";
|
2022-05-02 14:33:09 +00:00
|
|
|
import { withSentry } from '@sentry/nextjs';
|
2022-04-09 07:58:53 +00:00
|
|
|
|
2022-05-02 14:33:09 +00:00
|
|
|
const handler = async (req, res) => {
|
2022-04-09 07:58:53 +00:00
|
|
|
res.status(200).json({ name: "John Doe" });
|
|
|
|
}
|
2022-05-02 14:33:09 +00:00
|
|
|
|
|
|
|
export default withSentry(handler);
|