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