I'm developing an app on shopify, but when I make api calls after the line
app.use("/api/*", shopify.validateAuthenticatedSession()); of index file, it gets the issue "No shop provided". I could see that shop is undefined in payload. When I put my api calls before this line it works. I'm sharing the file code below.