import axios from 'axios'
import apiUrl from '../config'
axios({
method: 'post',
url: apiUrl,
headers: {
Authorization: localStorage.getItem('token'),
},
data: {
query: `
{
collection(
name: ${candyNameFilter} // 👈
) {
name
id
feeds
}
}`,
},
})