type-fix-4

This commit is contained in:
Untone 2024-03-02 14:22:27 +03:00
parent 3a3407f85e
commit 8deba4849d

View File

@ -248,5 +248,8 @@ func (c *provider) GetUserAppDataFromRedis(userId string) (string, error) {
// Combine user data into a JSON string // Combine user data into a JSON string
combinedData := fmt.Sprintf(`{"profile": %s, "authors": %s, "topics": %s, "followers": %s}`, combinedData := fmt.Sprintf(`{"profile": %s, "authors": %s, "topics": %s, "followers": %s}`,
authorProfileString, authorFollowsAuthorsString, authorFollowsTopicsString, authorFollowers) authorProfileString, authorFollowsAuthorsString, authorFollowsTopicsString, authorFollowers)
log.Printf("%v", combinedData)
return combinedData, nil return combinedData, nil
} }