Skip to content

Commit b9a313f

Browse files
committed
missing new operator added
1 parent fcbab01 commit b9a313f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function generateUUID(uuid, v = 1) {
6262
);
6363
} else {
6464
const uuid = uuidv(null, Buffer.alloc(16));
65-
return apply(Binary(uuid, Binary.SUBTYPE_UUID));
65+
return apply(new Binary(uuid, Binary.SUBTYPE_UUID));
6666
}
6767
}
6868

0 commit comments

Comments
 (0)