traitify-magis 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/traitify-magis.rb +1 -1
- data/lib/traitify-magis/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: 7473b7334fd77b2992d37fa0c44a1aa6ab61120e
|
4
|
+
data.tar.gz: 6b26a73d1b81e06e8b2ae079578306981af759b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac02acc2881891e8628781aeaf251861af2058a8fdc4e780e14373b31320a8bdb29e3ac50642ee18f7c30d3f3bf01e97a870cf0e84113d60e7897b264a688c52
|
7
|
+
data.tar.gz: 7b75870382899a7c936730b001692ac7c83b4f4e3d9bed32594957f0e33973eb26693a0b4157cd6e42219aa207bcc2d4686663a5646738359e6ae5dba9a35a8c
|
data/lib/traitify-magis.rb
CHANGED
@@ -24,7 +24,7 @@ class Api < Sinatra::Base
|
|
24
24
|
traitify.secret = ENV["TRAITIFY_SECRET"] || traitify_credentials["secret_key"]
|
25
25
|
traitify.api_host = ENV["TRAITIFY_API_HOST"] || traitify_credentials["api_host"]
|
26
26
|
traitify.api_version = ENV["TRAITIFY_API_VERSION"] || traitify_credentials["api_version"]
|
27
|
-
|
27
|
+
|
28
28
|
if Magis.db["users"]["assessments"][id]
|
29
29
|
assessment_id = traitify.create_assessment(deck_id: id).id
|
30
30
|
assessments = Magis.db["users"]["assessments"]
|