aboutsummaryrefslogtreecommitdiff
path: root/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'request.go')
-rw-r--r--request.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/request.go b/request.go
index 9831777..dbd9fc2 100644
--- a/request.go
+++ b/request.go
@@ -7,7 +7,6 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
- "strconv"
"time"
)
@@ -27,7 +26,7 @@ type Request struct {
}
func CreateRequest(opts ClientOptions) (req Request) {
- req.UserID, _ = strconv.ParseInt(opts.UserID, 10, 64)
+ req.UserID = opts.UserID
req.Email = opts.Email
req.Timestamp = time.Now().UnixMilli()