import { query } from '../../../../utils/db'

export default defineEventHandler(async () => {
  const targets = await query(`
    SELECT * FROM pubnet_targets
    ORDER BY id ASC
  `)
  
  return targets
})
