face_recognition 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/face_recognition/models/omni_auth.rb +2 -2
- data/lib/face_recognition/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de7fecadb76fef4fd38c43e543ae61921f5a8aad
|
4
|
+
data.tar.gz: 1085dedbe8ba72e3998c6f6a48130621b238e8f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff913f0470699328c69086c881ea32a4315798f457ed143abc34caf9dc6d36c02780ca552b89c7423d2af191bafc99285708530fe50eaf6a06533d631a025a37
|
7
|
+
data.tar.gz: e17fb81f0e6259525433c524066b2773d8833d8c0b1f6d9cdff7a6f2b9bebb20a08956cc5a8e2f32c39a4801c8172de3412ffac9da191a2a2e588022b998c3a3
|
@@ -64,8 +64,8 @@ module FaceRecognition
|
|
64
64
|
user = FacebookUser.where(id: id).first
|
65
65
|
return unless user
|
66
66
|
fb_auth = FbGraph2::Auth.new(ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET'])
|
67
|
-
fb_auth.fb_exchange_token=(user.
|
68
|
-
user.
|
67
|
+
fb_auth.fb_exchange_token=(user.facebook_token)
|
68
|
+
user.facebook_token = fb_auth.access_token!.access_token
|
69
69
|
user.save
|
70
70
|
end
|
71
71
|
|