Skip to content

Commit

Permalink
Merge pull request #65 from smartdevicelink/develop
Browse files Browse the repository at this point in the history
2.4.0
  • Loading branch information
crokita authored Jul 16, 2019
2 parents 521d75f + b93190c commit e9cfc2f
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 144 deletions.
4 changes: 2 additions & 2 deletions api/v2/app/interfaces/job/manticore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const HMI_HEALTH_TIME = 8000;

const jobInfo = {
core: {
versions: ["5.1.2"], //ex. 5.0.1, master, develop
versions: ["5.1.3"], //ex. 5.0.1, master, develop
builds: ["default"]
},
hmis: [{
Expand Down Expand Up @@ -293,7 +293,7 @@ function formatAddresses (id, services) {
function exampleJobOption () {
return {
core: {
version: "5.1.2",
version: "5.1.3",
build: "default"
},
hmi: {
Expand Down
2 changes: 2 additions & 0 deletions api/v2/app/listeners/job-cleanup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module.exports = {
data: {}
};
await websocket.send(id, JSON.stringify(msgObj));
//delete the passcode for this user
await websocket.deletePasscode(id);
next();
}
}
2 changes: 0 additions & 2 deletions api/v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ module.exports = app => {
});

ctx.websocket.on('close', async () => {
//reset the passcode for this user
await websocket.deletePasscode(id);
logic.onDisconnection(id, ctx.websocket);
});

Expand Down
146 changes: 73 additions & 73 deletions build/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e9cfc2f

Please sign in to comment.