refac: APICall에 타입 지정
- 비 undefined 타입에서 ?타입 호출 제거 - API 소속 type들을 defs/API/ 로 이동 - 모든 SammoAPI, SammoRootAPI 지정
This commit is contained in:
@@ -273,7 +273,7 @@ $(async function ($) {
|
||||
let result: LoginResponse | LoginFailed;
|
||||
|
||||
try {
|
||||
result = await SammoRootAPI.Login.LoginByID<LoginResponse, LoginFailed>({
|
||||
result = await SammoRootAPI.Login.LoginByID({
|
||||
username: values.username,
|
||||
password: hash_pw,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user