Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gathuku/mpesa
Browse files Browse the repository at this point in the history
  • Loading branch information
gathuku committed Oct 21, 2023
2 parents e38a576 + 9cb936e commit ac7534b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mpesa/resources/token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def token

def cache_token
res = call
cache.write('token', res.access_token, expires_in: res.expires_in)
cache.write('token', res.access_token, expires_in: res.expires_in.to_i)
res
end

Expand Down

0 comments on commit ac7534b

Please sign in to comment.