import{w as s,an as r,ao as t,av as n,aH as o,x as u,k as i}from"./main-TIUJvpaR.js";import{D as m}from"./paginated-resources-KKWqbuJW.js";function y(){const{trans:e}=s();return r({mutationFn:a=>p(a),onSuccess:async(a,c)=>{await n.invalidateQueries({queryKey:m("logs/schedule")}),o.positive(e(u("Command reran")))},onError:a=>t(a)})}function p({id:e}){return i.post(`logs/schedule/rerun/${e}`).then(a=>a.data)}export{y as u};
