active_record_api-rest 1.0.46 → 1.0.47
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eda78fc6ca11faa0966725c5129fb8627c4beec2e065e364b1eb39499d1ada5
|
4
|
+
data.tar.gz: 646dd7b20adf234d4674120782ced0ea264fd1bc3decd675249d627f8f2e6109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e2d973b132f471e897364841ed5b9d6c18a0bcb8b3baacb2638bc04b333e3168112b29704457d70a044652c22c2f76c931d2eafd6a3184b33014a595a36f7e
|
7
|
+
data.tar.gz: 75028e4bfd2429fc3a1f341bcb370560629cb8738f0d4bbbde568a2c628815d23ef1a2dd4a32b2adb38938cc6d43020b85c5c64016fadc52ccfe13fd37438c4c
|
@@ -8,7 +8,7 @@ module ActiveRecordApi
|
|
8
8
|
render status: :not_found, json: { base: exception.message }
|
9
9
|
end
|
10
10
|
|
11
|
-
rescue_from ActiveRecordApi::Rest::Auth::
|
11
|
+
rescue_from ActiveRecordApi::Rest::Auth::BadRequestException do |exception|
|
12
12
|
render status: :bad_request, json: { base: 'Bad Request', message: exception.message }
|
13
13
|
end
|
14
14
|
|