import { privnetScheduler } from '../../../../utils/privnet-scheduler'

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