AlkantarClanX12
Current Path : /home/thanudqk/thepball.com/wp-content/plugins/ml-slider/admin/assets/js/app/api/ |
Current File : /home/thanudqk/thepball.com/wp-content/plugins/ml-slider/admin/assets/js/app/api/Image.js |
import { Axios as api } from '../api' // Note, this is a slow refactor so might appear incomplete const Image = { findIdFromFilename(filenames) { let formData = new FormData() formData.append('filenames', filenames) formData.append('action', 'ms_get_image_ids_from_filenames') return api.post('images/ids-from-filenames', formData, { headers: { 'Content-Type': 'multipart/form-data' } }) } } export default Image