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

export default defineEventHandler(async (event) => {
  const slug = getRouterParam(event, 'slug')
  return platformApi(event, `/tenants/${slug}/resume`, { method: 'POST' })
})
