Skip to content

Commit

Permalink
added settings visible: true to new frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed Jun 20, 2015
1 parent 00c522f commit 708a43b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ try {
// TODO: if the supplied user or framename don't match the conf, update the frame on the server?
var frame = {
owner: username,
users: [username],
name: framename
users: [username],
name: framename,
active: false,
settings: {
visible: true
}
};
client.put('/frames/'+conf._id.$oid, frame, function(err, res, body) {
if (err) console.log(err);
Expand Down

0 comments on commit 708a43b

Please sign in to comment.