FIX local bug

This commit is contained in:
Jasder 2020-11-26 15:15:15 +08:00
parent 58a80af929
commit 9a27b26cef
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ module LoginHelper
token = config[:sync_token]
api_host = config[:sync_url]
return if api_host.blank?
url = "#{api_host}/api/v1/users/sync_user_token"
sync_json = {
"token": token,