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

서비스 처리에 실패했습니다. 오류 #10

Closed
doteka opened this issue Jan 20, 2020 · 2 comments
Closed

서비스 처리에 실패했습니다. 오류 #10

doteka opened this issue Jan 20, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@doteka
Copy link

doteka commented Jan 20, 2020

예제에 있는
const result = await school.search(School.Region.GYEONGGI, '광명경영회계고')
school.init(School.Type.HIGH, School.Region.GYEONGGI, result[0].schoolCode) 이것을

const result = await school.search(School.Region.KANGWON, '양구고등학교')
school.init(School.Type.HIGH, School.Region.KANGWON, 'K100000454') 이렇게 바꿨는데
(node:62904) UnhandledPromiseRejectionWarning: Error: 서비스 처리에 실패했습니다.

at /Users/mac/Desktop/programing/nodeJS/node_modules/school-kr/dist/school.js:137:17
at process._tickCallback (internal/process/next_tick.js:68:7)

이런 오류가 나옵니다. 혹시 API오류인가요? 제 개발환경 문제인가요??

@leegeunhyeok
Copy link
Owner

여기에서 잘못된 코드가 발견된 것으로 확인되었습니다.

각 교육청별로 세션 정보를 가져올 수 있도록 수정한 후 3.0.1로 배포하도록 하겠습니다.
감사합니다 :)

@leegeunhyeok leegeunhyeok added the bug Something isn't working label Jan 20, 2020
@doteka
Copy link
Author

doteka commented Jan 20, 2020

감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants