pinMaster susee

This commit is contained in:
suseendhiran17 2022-03-19 17:47:48 +05:30
parent c17bb283e6
commit 61d6d5cbc6
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,
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(
{
state_id: { type: DataTypes.STRING },
pin: { type: DataTypes.INTEGER },
pin: { type: DataTypes.STRING },
is_active: { type: DataTypes.INTEGER }
},

View File

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