import { pubnetScheduler } from '../../../../utils/pubnet-scheduler'

export default defineEventHandler(() => {
  pubnetScheduler.stop()
  
  return {
    success: true,
    message: 'Pubnet scheduler stopped',
    isRunning: pubnetScheduler.getIsRunning()
  }
})
