fixed-redis-cache-5
All checks were successful
deploy / deploy (push) Successful in 1m27s

This commit is contained in:
Untone 2024-06-05 21:53:59 +03:00
parent 3197154fec
commit 085faf73e7

View File

@ -232,7 +232,7 @@ 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:%d", userId)).Result()
authorProfileString, err := c.store.Get(c.ctx, fmt.Sprintf("author:user:%s", userId)).Result()
if err != nil {
return "", err
}