summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-29 11:33:40 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-29 11:33:40 +0800
commit28334e714816ca409c7148fbe383949bdcddea65 (patch)
tree05aabf169d611007768ef47e9b71ab2f08583cdc
parent009d7c6d7b54befe7e103f05afd5d4935275210e (diff)
shopify_app now takes carrier services argHEADmaster
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
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;