FIX local bug
This commit is contained in:
parent
58a80af929
commit
9a27b26cef
|
@ -127,6 +127,8 @@ module LoginHelper
|
||||||
token = config[:sync_token]
|
token = config[:sync_token]
|
||||||
api_host = config[:sync_url]
|
api_host = config[:sync_url]
|
||||||
|
|
||||||
|
return if api_host.blank?
|
||||||
|
|
||||||
url = "#{api_host}/api/v1/users/sync_user_token"
|
url = "#{api_host}/api/v1/users/sync_user_token"
|
||||||
sync_json = {
|
sync_json = {
|
||||||
"token": token,
|
"token": token,
|
||||||
|
|
Loading…
Reference in New Issue