From 27fa1e5479f285da62b761e36b7e7fb2b1319158 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 20 Sep 2023 15:35:12 -0700 Subject: shopify attributes --- index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index f525cd9f..7c3a134f 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,7 @@ import invoices from "$routes/invoices"; import users from "$routes/users"; import payments from "$routes/payments"; import requests from "$routes/requests"; +import shopify from "$routes/shopify"; fillPool(); @@ -94,6 +95,7 @@ app.post("/requests", auth, requests.create); app.post("/requests/delete", auth, requests.destroy); app.post("/proxy", payments.proxy); +app.post("/shopify/:id", auth, shopify); let host = process.env.HOST || "0.0.0.0"; let port = process.env.PORT || 3119; -- cgit v1.2.3