import{a}from"./redux-vendor-B7uoacJt.js";import{j as r,h as u}from"./index-Vwb3Bce5.js";const c=a("SLAUGHTER_DELETE_REQUEST",async e=>{const{data:s,status:t}=await r.delete("kill_request/"+e.id);return{data:s,status:t}}),l=a("SLAUGHTER_NEW_REQUEST",async(e,{dispatch:s})=>{try{const{data:t,status:o}=await r.post("kill_request/",e);return{data:t,status:o}}catch(t){return s(u()),{error:t.response.data.result}}});export{c as a,l as s};
