switch timestamp to millis to match client

This commit is contained in:
Lewis Crichton
2023-02-20 22:39:00 +00:00
parent 1a7c4cdf68
commit aaeb4306c8
+1 -1
View File
@@ -160,7 +160,7 @@ func main() {
userId := c.Context().UserValue("userId").(string) 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{}{ _, err := rdb.HSet(c.Context(), "settings:" + hash(PEPPER_SETTINGS + userId), map[string]interface{}{
"value": c.Body(), "value": c.Body(),