Skip to content

Commit

Permalink
Merge pull request #32 from hyunmin0317/feature/30
Browse files Browse the repository at this point in the history
✨ feat: auth_detail 함수 수정 (#30)
  • Loading branch information
hyunmin0317 committed Feb 15, 2024
2 parents 7f44a3c + a67a499 commit b44ee9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# sangmyung-univ-auth ![Python versions](https://img.shields.io/badge/Python-3.9-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Release](https://img.shields.io/badge/release-1.2.1-red)
# sangmyung-univ-auth ![Python versions](https://img.shields.io/badge/Python-3.9-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Release](https://img.shields.io/badge/release-1.2.2-red)
**상명대학교 재학생 인증 라이브러리**

## Features
Expand Down
2 changes: 1 addition & 1 deletion sangmyung_univ_auth/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .auth import auth, auth_detail, completed_courses

__VERSION__ = '1.2.1'
__VERSION__ = '1.2.2'
__AUTHOR__ = 'Choi Hyun Min'
2 changes: 1 addition & 1 deletion sangmyung_univ_auth/authenticator/portal_ssotoken.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def get_detail(session, username: str) -> dict:
data = response['dsStdInfoList'][0]
return {
'name': data['NM_KOR'],
'username': data['STDNO'],
'department': data['TMP_DEPT_MJR_NM'].split()[-1],
'email': data['EMAIL'],
'number': data['STDNO'],
'year': data['SHYR'],
'semester': data['CMP_SMT']
}
Expand Down

0 comments on commit b44ee9f

Please sign in to comment.