Merge branch 'master' of bitbucket.org:venbainformationtechnology/smc_cet_mainapp_backend

This commit is contained in:
sriramv 2022-03-21 09:54:03 +05:30
commit 2944ce3933
3 changed files with 5 additions and 9 deletions

View File

@ -188,8 +188,9 @@ const { logMsg } = require('../services/logger.js');
res.send({'status':404, res.send({'status':404,
message: err.message || "Some error occurred while create relation masterdata." ,'data': "No data" message: err.message || "Some error occurred while create relation masterdata." ,'data': "No data"
}); });
} //end of try catch } //end of try catch
}; };

View File

@ -7,7 +7,7 @@ module.exports = (sequelize, DataTypes) => {
PinMaster.init( PinMaster.init(
{ {
state_id: { type: DataTypes.STRING }, state_id: { type: DataTypes.STRING },
pin: { type: DataTypes.INTEGER }, pin: { type: DataTypes.STRING },
is_active: { type: DataTypes.INTEGER } is_active: { type: DataTypes.INTEGER }
}, },

View File

@ -1458,11 +1458,6 @@ router.post("/CreateRelationMaster", Mastercontroller.CreateRelationMaster); //
// routes started here // routes started here
app.use('/api', router); app.use('/api', router);