reimplement-following-data-proxy-2
Some checks failed
deploy / deploy (push) Failing after 1m3s

This commit is contained in:
Untone 2024-05-21 03:31:06 +03:00
parent 42017035fc
commit 0b823ffc33

View File

@ -227,7 +227,7 @@ type AuthorProfile struct {
// GetUserAppDataFromRedis retrieves user profile and follows from Redis, combines them into a JSON format, // GetUserAppDataFromRedis retrieves user profile and follows from Redis, combines them into a JSON format,
// and assigns the JSON string to the provided user's ID. // and assigns the JSON string to the provided user's ID.
f
func (c *provider) GetUserAppDataFromRedis(userId string) (string, error) { func (c *provider) GetUserAppDataFromRedis(userId string) (string, error) {
// Получаем ID автора из Redis // Получаем ID автора из Redis
authorIdString, err := c.store.Get(c.ctx, fmt.Sprintf("user:id:%s", userId)).Result() authorIdString, err := c.store.Get(c.ctx, fmt.Sprintf("user:id:%s", userId)).Result()