From 2f15e454e0ea4b12e197805180e2baf878608b9f Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Thu, 29 Sep 2022 15:32:52 +0800 Subject: Complete previous commit --- shopify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shopify.c b/shopify.c index a21e1f9..25a665d 100644 --- a/shopify.c +++ b/shopify.c @@ -550,8 +550,8 @@ static enum MHD_Result handle_request(void *cls, struct MHD_Connection *con, = json_object_array_get_idx(services, i); json_object *name = NULL; - json_object_object_get_ex(service, - "callback_url", &name); + json_object_object_get_ex(service, "name", + &name); if (!strcmp(json_object_get_string(name), carrierservice->name)) { exists = 1; -- cgit v1.3