I have an app that is deployed to the Fly.IO servers. I am also connected to a Postgres database that is hosted there as well. I am making API calls via a proxy from the frontend of my site to the backend. The below code is causing issues.
const { admin } = await authenticate.public.appProxy(request);
_graphql = admin.graphql;
admin.graphql is undefined for some reason. If I am on my local machine everything works fine, but when I had initially pushed this update out to Fly.IO I was having this issue. If I go look in the Postgres database and the Session table there were no records. The crazy thing is after about a day of this being deployed it just started working and indeed there was a record in the Session table.
We go live in a few weeks and so I assume our store will get the offline_ prefix removed from it's name so I am worried this will happen again.