import{a as s}from"./redux-vendor-B7uoacJt.js";import{L as n,j as c,h as t}from"./index-Vwb3Bce5.js";const l=s("PROVINCE_GET_UPLOAD_IMAGE",async(o,{dispatch:a})=>{try{a(n());const{data:r,status:e}=await c.get("/upload-image-limit/");return a(t()),{data:r,status:e}}catch(r){return a(t()),{error:r.response.data.result}}}),m=s("PROVINCE_GET_UPLOAD_IMAGE",async(o,{dispatch:a})=>{try{a(n());const{data:r,status:e}=await c.put("/upload-image-limit/0/",o);return a(t()),{data:r,status:e}}catch(r){return a(t()),{error:r.response.data.result}}});export{l as a,m as p};
