mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 09:20:15 -06:00
add missing pointer
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
committed by
Ralf Haferkamp
parent
b815a6e0a1
commit
ef920b040a
@@ -1173,7 +1173,7 @@ func (g Graph) getUserStateFromNatsKeyValue(ctx context.Context, userID string)
|
||||
}
|
||||
|
||||
userState := userstate.UserState{}
|
||||
if err := json.Unmarshal(entry.Value(), userState); err != nil {
|
||||
if err := json.Unmarshal(entry.Value(), &userState); err != nil {
|
||||
logger.Error().Err(err).Str("userid", userID).Msg("error unmarshalling user state from nats key value store")
|
||||
return userstate.UserState{
|
||||
UserId: userID,
|
||||
|
||||
Reference in New Issue
Block a user