Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Use $check_url in update_device_info instead of $control_panel_url.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed May 8, 2013
1 parent 3591e17 commit 1ab8a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/push
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 1ab8a5f

Please sign in to comment.