Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] : autoComplete paper가 없는 경우도 error를 체크하는 오류 수정 #97

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

JunYupK
Copy link
Collaborator

@JunYupK JunYupK commented Dec 7, 2022

개요

autocomplete 기능에서도 동일한 404 error 가 발생하여 해당 부분을 제거하였습니다.

작업사항

    if (papers.length === 0) throw new NotFoundException('검색 결과가 존재하지 않습니다. 정보를 수집중입니다.');

해당 코드 삭제, 논문이 존재하지않아도 error가 아니라 빈배열을 그대로 return

@JunYupK JunYupK merged commit 57933d4 into dev Dec 8, 2022
@JunYupK JunYupK deleted the fix/404error branch December 8, 2022 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants