appdata-debug-4
This commit is contained in:
parent
040f7ead7e
commit
baeb5a68ea
|
@ -235,7 +235,7 @@ func (c *provider) GetUserAppDataFromRedis(userId string) (string, error) {
|
||||||
|
|
||||||
// Parse userProfileString into a UserProfile struct
|
// Parse userProfileString into a UserProfile struct
|
||||||
var userProfile UserProfile
|
var userProfile UserProfile
|
||||||
err := json.Unmarshal([]byte(userProfileString), &userProfile)
|
err = json.Unmarshal([]byte(userProfileString), &userProfile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user