Skip to content

Commit ea9d591

Browse files
committed
concise
1 parent 20aa2d4 commit ea9d591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/binary.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,7 @@ export class UUID extends Binary {
487487

488488
/** Creates an UUID from a base64 string representation of an UUID. */
489489
static override createFromBase64(base64: string): UUID {
490-
const bytes = ByteUtils.fromBase64(base64);
491-
return new UUID(bytes);
490+
return new UUID(ByteUtils.fromBase64(base64));
492491
}
493492

494493
/**

0 commit comments

Comments
 (0)