panda_pal 5.6.8 → 5.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/panda_pal/api_call.rb +1 -1
- data/lib/panda_pal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7746e5ec8e6a9422e44a880dda50b985b48706b727e48a02fc2918b75d904125
|
4
|
+
data.tar.gz: 3456caae1ed87a8accafcfa4145ca5ee403fe1bd8f9ac42c3796df8dc334a17c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0616e5eddcefae83d73bb8da9cb246baef0b06417ae1bbeea2545a1dccebf1d7e1b681931a449e00cc14e5ec3cb0d07c03adc7676048c0e29111701601017171
|
7
|
+
data.tar.gz: 384c9d6bdab817b224670c9d6e5fa080e791f9c2ed0442a0e8fa242cb5572ade7ad696a115b58f4c181bec8e2bed2b4fe39169d3a0eb0d796987306986b38549
|
@@ -52,7 +52,7 @@ module PandaPal
|
|
52
52
|
}
|
53
53
|
if expiration.present?
|
54
54
|
expiration = DateTime.parse(expiration) if expiration.is_a?(String)
|
55
|
-
payload[:exp] = expiration.
|
55
|
+
payload[:exp] = expiration.to_i
|
56
56
|
end
|
57
57
|
::JWT.encode(payload, Rails.application.secret_key_base, 'HS256')
|
58
58
|
end
|
data/lib/panda_pal/version.rb
CHANGED