Skip to content

Commit 7f44a3c

Browse files
authored
Merge pull request #31 from hyunmin0317/feature/30
[FEATURE] auth_detail 함수 수정 (#30)
2 parents 18449c3 + b629ea2 commit 7f44a3c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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.0-red)
1+
# 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)
22
**상명대학교 재학생 인증 라이브러리**
33

44
## Features

sangmyung_univ_auth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .auth import auth, auth_detail, completed_courses
22

3-
__VERSION__ = '1.2.0'
3+
__VERSION__ = '1.2.1'
44
__AUTHOR__ = 'Choi Hyun Min'

sangmyung_univ_auth/authenticator/portal_ssotoken.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def get_detail(session, username: str) -> dict:
3333
'name': data['NM_KOR'],
3434
'department': data['TMP_DEPT_MJR_NM'].split()[-1],
3535
'email': data['EMAIL'],
36+
'number': data['STDNO'],
3637
'year': data['SHYR'],
3738
'semester': data['CMP_SMT']
3839
}

0 commit comments

Comments
 (0)