summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/convertAAGUIDToString.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-12 19:51:29 -0800
committerMatthew Miller <matthew@millerti.me>2022-11-12 19:51:29 -0800
commit6e3db9655c6aa2aef590c66295df500271bfdd17 (patch)
tree03ac98e1da17f97c4f7da151868a16ca445e0ec2 /packages/server/src/helpers/convertAAGUIDToString.ts
parent6a4ced11ee7d1e872af4215f9aba82c7b64119c2 (diff)
Figure out a better pattern for exposing iso funcs
Diffstat (limited to 'packages/server/src/helpers/convertAAGUIDToString.ts')
-rw-r--r--packages/server/src/helpers/convertAAGUIDToString.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/helpers/convertAAGUIDToString.ts b/packages/server/src/helpers/convertAAGUIDToString.ts
index 8375099..db9622a 100644
--- a/packages/server/src/helpers/convertAAGUIDToString.ts
+++ b/packages/server/src/helpers/convertAAGUIDToString.ts
@@ -1,11 +1,11 @@
-import * as isoUint8Array from './isoUint8Array';
+import { isoUint8Array } from './iso';
/**
* Convert the aaguid buffer in authData into a UUID string
*/
export function convertAAGUIDToString(aaguid: Uint8Array): string {
// Raw Hex: adce000235bcc60a648b0b25f1f05503
- const hex = uint8Array.toHex(aaguid);
+ const hex = isoUint8Array.toHex(aaguid);
const segments: string[] = [
hex.slice(0, 8), // 8