My function:
SELECT * FROM random_activity where ST_DWithin(ST_MakePoint(random_activity.lat, random_activity.lng)::geography, ST_MakePoint(lat, lng)::geography, distance, true) AND "estimatedHigherPrice" <= maxPrice;
I've included screenshots of my ActivityFilter struct in Swift which is encoded to JSON, and each field matches the parameter names of the function and the query. Also my Insomnia call which works fine, and the API Docs.
This might be an issue with the Supabase Client for Swift, but It's almost working, so not sure where the mistake is. Wish I could find a way in the API Logs to see the json body of the request.