Calling procedure from api endpoint

How can I call updatePlaylists from a function handler in pages/api/updatePlaylists.ts
image.png
Was this page helpful?