planetscale / database-js

A Fetch API-compatible PlanetScale database driver
https://planetscale.com/docs/tutorials/planetscale-serverless-driver
Apache License 2.0
1.17k stars 35 forks source link

Fix various `fetch` calls #8

Closed iheanyi closed 2 years ago

iheanyi commented 2 years ago

Removes credentials: include since we're not sending cookies, also makes sure we're always converting the URL to a string.