small change in convention
This commit is contained in:
@@ -26,15 +26,15 @@ exports.create = async (req, res, next) => {
|
||||
estimate_asset_value,
|
||||
estimate_yearly_operating_cost,
|
||||
|
||||
isNonprofit,
|
||||
is_nonprofit,
|
||||
|
||||
primary_contact_phone,
|
||||
primary_contact_first_name,
|
||||
primary_contact_last_name
|
||||
} = req.body;
|
||||
|
||||
primary_cause = primary_cause.trim().toLowerCase();
|
||||
primary_region = primary_region.trim().toLowerCase();
|
||||
// primary_cause = primary_cause.trim().toLowerCase();
|
||||
// primary_region = primary_region.trim().toLowerCase();
|
||||
|
||||
let transaction;
|
||||
|
||||
@@ -93,7 +93,7 @@ exports.create = async (req, res, next) => {
|
||||
estimate_asset_value,
|
||||
estimate_yearly_operating_cost,
|
||||
|
||||
isNonprofit,
|
||||
is_nonprofit,
|
||||
|
||||
primary_contact_phone,
|
||||
primary_contact_first_name,
|
||||
|
||||
@@ -79,12 +79,12 @@ module.exports = (sequelize, DataTypes) => {
|
||||
defaultValue: 0
|
||||
},
|
||||
|
||||
isNonprofit: {
|
||||
is_nonprofit: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: false
|
||||
},
|
||||
isVerified: {
|
||||
is_verified: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: false
|
||||
|
||||
@@ -27,7 +27,7 @@ module.exports = {
|
||||
estimate_asset_value: 200000,
|
||||
estimate_yearly_operating_cost: 40000,
|
||||
|
||||
isNonprofit: true,
|
||||
is_nonprofit: true,
|
||||
|
||||
primary_contact_phone: '9493873423',
|
||||
primary_contact_first_name: 'Kamlesh',
|
||||
@@ -51,8 +51,8 @@ module.exports = {
|
||||
// state: 'CA',
|
||||
// zip: '92604',
|
||||
|
||||
// primary_cause: 'Animal',
|
||||
// primary_region: 'South Asia',
|
||||
// primary_cause: 'Human Services',
|
||||
// primary_region: 'Africa',
|
||||
|
||||
// ein: '63-6088665',
|
||||
// estimate_asset_value: 200000,
|
||||
|
||||
Reference in New Issue
Block a user