import type { Context } from '@netlify/functions' import { guardMethod } from '../utils/method.js' import { ok } from '../utils/http.js' import { withErrorBoundary } from '../utils/handler.js' export default withErrorBoundary(async (request: Request, _context: Context) => { const methodResponse = guardMethod(request, ['GET']) if (methodResponse) return methodResponse return ok({ message: 'product-detail endpoint placeholder' }) })