From ad7b09b43323d0ffc0a8ddabb43e4838a184c697 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Feb 2026 13:18:42 -0800 Subject: formatting --- routes/shopify.ts | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'routes/shopify.ts') diff --git a/routes/shopify.ts b/routes/shopify.ts index ff601963..d955d73d 100644 --- a/routes/shopify.ts +++ b/routes/shopify.ts @@ -25,19 +25,16 @@ export default async (req, res) => { try { const r = await got - .post( - `https://${user.shopifyStore}.myshopify.com/admin/api/2023-07/graphql.json`, - { - headers: { - "Content-Type": "application/json", - "X-Shopify-Access-Token": user.shopifyToken, - }, - json: { - query, - variables: { input: { id: `gid://shopify/Order/${id}` } }, - }, + .post(`https://${user.shopifyStore}.myshopify.com/admin/api/2023-07/graphql.json`, { + headers: { + "Content-Type": "application/json", + "X-Shopify-Access-Token": user.shopifyToken, }, - ) + json: { + query, + variables: { input: { id: `gid://shopify/Order/${id}` } }, + }, + }) .json(); l("shopify success", r); -- cgit v1.2.3