aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/database.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.ts b/src/database.ts
index fd3f52b..e3affc4 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -195,8 +195,8 @@ interface StringNumber {
[name: string]: number
}
-function createUuid(uuid: string): Binary {
- return new Binary(Buffer.from((uuid).replace(/-/g, ''), 'hex'), Binary.SUBTYPE_UUID)
+export function createUuid(uuid: string): Binary {
+ return new Binary(Buffer.from(uuid.replace(/-/g, ''), 'hex'), Binary.SUBTYPE_UUID)
}
function getMemberCollectionAttributes(member: CleanMember): StringNumber {