menuhwang / pubg-analyzer

1 stars 1 forks source link

[Bug] 플레이어 검색 시 빈 문자열로 검색 #86

Closed menuhwang closed 1 year ago

menuhwang commented 1 year ago

버그 설명

플레이어 검색 시 빈 문자열로 검색하는 경우 불필요한 api 호출 발생.

버그 발생 상황

  1. 빈 문자열로 플레이어 검색 (Home 페이지)
  2. 전적 갱신 (매치 조회 페이지)
  3. 불필요한 api 요청 발생.

에러 로그

menuhwang commented 1 year ago

해결 방안

menuhwang commented 1 year ago

플레이어 검색 닉네임 검증 추가

menuhwang commented 1 year ago

PlayerApiController#renew의 경우 Validate 로직을 따로 추가하지 않는 것으로 변경.