chore: support fr locale

This commit is contained in:
Steven
2024-05-21 21:57:03 +08:00
parent 4444c72042
commit 6746b9dc58
17 changed files with 216 additions and 197 deletions

View File

@ -57,7 +57,7 @@ func (s *Store) GetUserSetting(ctx context.Context, find *FindUserSetting) (*sto
func (s *Store) GetUserAccessTokens(ctx context.Context, userID int32) ([]*storepb.AccessTokensUserSetting_AccessToken, error) {
userSetting, err := s.GetUserSetting(ctx, &FindUserSetting{
UserID: &userID,
Key: storepb.UserSettingKey_USER_SETTING_ACCESS_TOKENS,
Key: storepb.UserSettingKey_ACCESS_TOKENS,
})
if err != nil {
return nil, err