diff --git a/server/memorystore/providers/redis/store.go b/server/memorystore/providers/redis/store.go index dd312a3..a2b7c0e 100644 --- a/server/memorystore/providers/redis/store.go +++ b/server/memorystore/providers/redis/store.go @@ -232,8 +232,11 @@ type AuthorProfile struct { // and assigns the JSON string to the provided user's ID. func (c *provider) GetUserAppDataFromRedis(userId string) (string, error) { // Получаем профиль автора из Redis - authorProfileString, err := c.store.Get(c.ctx, fmt.Sprintf("author:user:%s", userId)).Result() + rkey := fmt.Sprintf("author:user:%s", userId) + authorProfileString, err := c.store.Get(c.ctx, rkey).Result() if err != nil { + fmt.Println("redis GET: %s", rkey) + fmt.Println("%s", authorProfileString) return "", err }