Commit d474d1ab authored by Steven's avatar Steven

chore: update store cache

parent 57611174
......@@ -96,7 +96,6 @@ func (s *Store) GetIdentityProvider(ctx context.Context, find *FindIdentityProvi
}
identityProvider := list[0]
s.idpCache.Store(identityProvider.ID, identityProvider)
return identityProvider, nil
}
......
......@@ -56,7 +56,6 @@ func (s *Store) GetUserSetting(ctx context.Context, find *FindUserSetting) (*Use
}
userSetting := list[0]
s.userSettingCache.Store(getUserSettingCacheKey(userSetting.UserID, userSetting.Key), userSetting)
return userSetting, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment