From ccb921607461ed24fe659e9df7e540b978abcc29 Mon Sep 17 00:00:00 2001 From: koke Date: Sun, 14 Jan 2024 18:36:41 +0900 Subject: [PATCH] fix uuid version --- emoji.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emoji.go b/emoji.go index fbf3acf..ca5e1c8 100644 --- a/emoji.go +++ b/emoji.go @@ -50,7 +50,7 @@ type Emoji struct { } func newEmojiRequest(user string) *Emoji { - id, _ := uuid.NewUUID() + id := uuid.New() emoji := Emoji{ ID: id.String(), }