From aaeb4306c83c81efbc3ef9dbe0f88013f9ea430f Mon Sep 17 00:00:00 2001 From: Lewis Crichton Date: Mon, 20 Feb 2023 22:39:00 +0000 Subject: [PATCH] switch timestamp to millis to match client --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2f594c2..82937b6 100644 --- a/main.go +++ b/main.go @@ -160,7 +160,7 @@ func main() { userId := c.Context().UserValue("userId").(string) - now := time.Now().Unix() + now := time.Now().UnixMilli() _, err := rdb.HSet(c.Context(), "settings:" + hash(PEPPER_SETTINGS + userId), map[string]interface{}{ "value": c.Body(),