import { authenticate } from "../shopify.server";
export const loader = async ({request}) => {
const { admin } = await authenticate.admin(request);
const response = await admin.graphql(
`#graphql
query {
app(id: "gid://shopify/App/193172482") {
title
}
}`,
);
const json = await response.json();
return json.data;
}