mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-16 22:09:26 +08:00
Commented out debug logs in api
This commit is contained in:
parent
877da5123a
commit
e40f32d327
1 changed files with 2 additions and 2 deletions
|
@ -59,12 +59,12 @@ export function UserLogin(user: LoginParams) {
|
|||
return instance
|
||||
.post("/api/v1/accounts/jwt/create/", user)
|
||||
.then(async (response) => {
|
||||
console.log(
|
||||
/*console.log(
|
||||
"Access Token:",
|
||||
response.data.access,
|
||||
"\nRefresh Token:",
|
||||
response.data.refresh
|
||||
);
|
||||
);*/
|
||||
setAccessToken(response.data.access);
|
||||
setRefreshToken(response.data.refresh);
|
||||
return [true];
|
||||
|
|
Loading…
Reference in a new issue