solidus_api 2.11.4 → 2.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/spree/api/base_controller.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b700b541040c01e87ec18bc5d65f51be73904fc72eed6cb11702f3d59e29857f
|
4
|
+
data.tar.gz: 1e218892060c961813eff6df57d8183f51704fdfd98670c6adef7805e546a42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34dfc56c007035a10026061a90ddc88eb561829291bc4f1c195a40a65e494d70723b3c98d674ccdbca71faceaf9d88f376a45413814f7d8351b929834e4da883
|
7
|
+
data.tar.gz: 316013b0da91d2393f9528bbcb77125eda9de788238f7efc6f94f072adcf7aa721711d983fb86f7b2d35931cb510d895e790a523e67fe7ea659a03cb20f78c04
|
@@ -76,7 +76,8 @@ module Spree
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def parameter_missing_error(exception)
|
79
|
-
|
79
|
+
# use original_message to remove DidYouMean suggestions, if defined
|
80
|
+
message = exception.try(:original_message) || exception.message
|
80
81
|
render json: {
|
81
82
|
exception: message,
|
82
83
|
error: message,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jbuilder
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.11.
|
61
|
+
version: 2.11.5
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.11.
|
68
|
+
version: 2.11.5
|
69
69
|
description: REST API for the Solidus e-commerce framework.
|
70
70
|
email: contact@solidus.io
|
71
71
|
executables: []
|