Referencing a missing variable in an effect now returns zero, not an error
This commit is contained in:
14
app/imports/api/properties/subSchemas/ErrorSchema.js
Normal file
14
app/imports/api/properties/subSchemas/ErrorSchema.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import SimpleSchema from 'simpl-schema';
|
||||
|
||||
const ErrorSchema = new SimpleSchema({
|
||||
// The roll that determines how much to change the attribute
|
||||
message: {
|
||||
type: String,
|
||||
},
|
||||
// Who this adjustment applies to
|
||||
type: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
|
||||
export default ErrorSchema;
|
||||
Reference in New Issue
Block a user