Whatsapp send and Zammad autologin fixes
This commit is contained in:
parent
a3d6b786e1
commit
9e68be7225
15 changed files with 153 additions and 100 deletions
|
|
@ -12,7 +12,7 @@ class CdrSignal
|
|||
#
|
||||
|
||||
def self.check_token(api_url, token)
|
||||
api = CdrSignalAPI.new(api_url, token)
|
||||
api = CdrSignalApi.new(api_url, token)
|
||||
begin
|
||||
bot = api.fetch_self
|
||||
rescue StandardError => e
|
||||
|
|
@ -128,7 +128,7 @@ class CdrSignal
|
|||
def initialize(api_url, token)
|
||||
@token = token
|
||||
@api_url = api_url
|
||||
@api = CdrSignalAPI.new(api_url, token)
|
||||
@api = CdrSignalApi.new(api_url, token)
|
||||
end
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue