Database Function returns null

Hi! I'm having a problem when I call from API a database function, it returns null. And from Supabase UI returns correct information.... What could be happening?
Was this page helpful?