From 28334e714816ca409c7148fbe383949bdcddea65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 29 Sep 2022 11:33:40 +0800 Subject: shopify_app now takes carrier services arg --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 2dee8c0..f051900 100644 --- a/main.c +++ b/main.c @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) char js_dir[app_dir_len + strlen(js_dir_rel) + 1]; sprintf(js_dir, "%s%s", APP_DIR, js_dir_rel); shopify_app(API_KEY, API_SECRET_KEY, APP_URL, "/auth", APP_ID, scopes, - html, js_dir, (struct shopify_api[]){ + html, js_dir, (struct shopify_api[]){ { "/products", "GET", @@ -49,6 +49,8 @@ int main(int argc, char *argv[]) "}" }, {} + }, (struct shopify_carrierservice[]){ + {} } ); return 0; -- cgit v1.2.3