spice-js 2.5.10 → 2.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/models/SpiceModel.js
CHANGED
|
@@ -154,7 +154,7 @@ export default class SpiceModel {
|
|
|
154
154
|
|
|
155
155
|
createValidationString({ property_name, props, operation, complete }) {
|
|
156
156
|
let operationExempt = {
|
|
157
|
-
PUT: ["required"],
|
|
157
|
+
PUT: ["required", "unique"],
|
|
158
158
|
};
|
|
159
159
|
let returnVal = [];
|
|
160
160
|
for (let i in props) {
|