Files
homepage/src/pages/api/widgets/index.js
T

9 lines
210 B
JavaScript

import { withAuth } from "utils/auth";
import { widgetsResponse } from "utils/config/api-response";
async function handler(req, res) {
res.send(await widgetsResponse());
}
export default withAuth(handler);