summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shopify.c4
1 files 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;