Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
augustctl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
augustctl
Commits
cb238381
Commit
cb238381
authored
Aug 22, 2016
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct how keys are iterated
parent
d1042c2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
server.js
server.js
+3
-1
No files found.
server.js
View file @
cb238381
...
...
@@ -136,7 +136,9 @@ app.get('/api/status/:lock_name', function(req, res){
});
config
.
forEach
(
function
(
lockConfig
,
lockName
)
{
Object
.
keys
(
config
).
forEach
(
function
(
lockName
)
{
var
lockConfig
=
config
[
lockName
];
augustctl
.
scan
(
lockConfig
.
lockUuid
).
then
(
function
(
peripheral
)
{
var
lock
=
new
augustctl
.
Lock
(
peripheral
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment