Skip to content

Commit

Permalink
Merge pull request #23 from ShalithaCell/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ShalithaCell committed Aug 20, 2020
2 parents 74b426e + bd9cadc commit 2f50339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const createWindow = () => {
height: 600,
webPreferences:
{
//devTools : false,
devTools : false,
nodeIntegration: true,
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/services/buildingDataServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ global.share.ipcMain.on('building:update', async (event, values) => {
await Buildings.findOne({where: {id: values.id}})
.then( building => {
// Check if record exists in db
building.update({buildingName : values.name, center: Number(values.center)}).then( updatedRecord => {
building.update({buildingName : values.buildingName, center: Number(values.center)}).then( updatedRecord => {
console.log(`updated record ${JSON.stringify(updatedRecord,null,2)}`)
// login into your DB and confirm update
})
Expand Down

0 comments on commit 2f50339

Please sign in to comment.