From cfc741037c9339ee177557ae01825ff0d5d542ad Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Wed, 15 Nov 2023 08:06:05 -0800 Subject: [PATCH] use shortuuid alphabet for guid encoding (#519) --- utils/id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/id.go b/utils/id.go index 3d4f01b0..ade9b8e4 100644 --- a/utils/id.go +++ b/utils/id.go @@ -66,7 +66,7 @@ func LocalNodeID() (string, error) { } var b62Index = newB62Index() -var b62Chars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") +var b62Chars = []byte(shortuuid.DefaultAlphabet) func newB62Index() [256]byte { var index [256]byte