Skip to content

Commit 2fc0fe0

Browse files
committed
fix for #152
1 parent 67964e3 commit 2fc0fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openzwave-scenes.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace OZW {
2828
// ===================================================================
2929
{
3030
Nan::HandleScope scope;
31-
CheckMinArgs(2, "label");
31+
CheckMinArgs(1, "label");
3232
std::string label = (*String::Utf8Value(info[0]->ToString()));
3333
SceneInfo *scene;
3434

0 commit comments

Comments
 (0)