I got an error on exporting individual api when creating a custom function.
but if directly export it, it works. I don't know what's wrong.
hi did you try to create customCall? can you show me how you done
task-api-example.js has one. You can add your axios logic there.
You'll either want to on line 3 export const skillsApi or on line 17 export default skillsApi.
export const skillsApi
export default skillsApi
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I got an error on exporting individual api when creating a custom function.
but if directly export it, it works. I don't know what's wrong.
hi did you try to create customCall? can you show me how you done
task-api-example.js has one. You can add your axios logic there.
You'll either want to on line 3
export const skillsApi
or on line 17export default skillsApi
.