diff --git a/core/push b/core/push index 814bf44..431943a 100644 --- a/core/push +++ b/core/push @@ -10,7 +10,7 @@ update_device_info_with(){ [ -z "$device_key" ] && return 1 log ' -- Updating device info...' - send_request "$control_panel_url/devices/$device_key.xml" "--connect-timeout 10 -X PUT -u $api_key:x -d "$1"" + send_request "$check_url/devices/$device_key.xml" "--connect-timeout 10 -X PUT -u $api_key:x -d "$1"" if [ "$response_status" == "200" ]; then log " -- Device updated."