import { platformApi } from '~~/server/utils/platform-api'

export default defineEventHandler(async (event) => {
  const id = getRouterParam(event, 'id')
  return platformApi(event, `/prices/${id}/impact`)
})
