jsonapi-authorization 1.0.0.alpha1 → 1.0.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c83ed79758b58af1eb5f2682278d59811be7eb20
|
4
|
+
data.tar.gz: 8dad69ca7b2bad76f4508c735a1be23f9dd60ad7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9f9793f5d9a6972e1a5bba3ea7d22d92368c8a8e7e37378dd0a09be44c3b5190df899393b1a76dedef1a6ff0d2515a6ebda8e95bff4d6e2568a72c6561629e1
|
7
|
+
data.tar.gz: 2b20f5bd2a639304a0e25b31bb861dbfc9426e4a221afc1be7b70c7f83ba07ccdddc89ac9aef2dd3c5d7c6ca98a3a47db09d27e41a86f374442fac148e9d940d
|
@@ -277,7 +277,7 @@ module JSONAPI
|
|
277
277
|
resource_class.find_by_keys(assoc_value, context: context).map(&:_model)
|
278
278
|
else
|
279
279
|
resource_class = resource_class_for_relationship(assoc_name)
|
280
|
-
resource_class.find_by_key(assoc_value
|
280
|
+
resource_class.find_by_key(assoc_value, context: context)._model
|
281
281
|
end
|
282
282
|
|
283
283
|
{
|