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

export default defineEventHandler(async (event) => {
  const body = await readBody(event)
  return platformApi(event, '/partners', { method: 'POST', body })
})
