mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +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
|
return instance
|
||||||
.post("/api/v1/accounts/jwt/create/", user)
|
.post("/api/v1/accounts/jwt/create/", user)
|
||||||
.then(async (response) => {
|
.then(async (response) => {
|
||||||
console.log(
|
/*console.log(
|
||||||
"Access Token:",
|
"Access Token:",
|
||||||
response.data.access,
|
response.data.access,
|
||||||
"\nRefresh Token:",
|
"\nRefresh Token:",
|
||||||
response.data.refresh
|
response.data.refresh
|
||||||
);
|
);*/
|
||||||
setAccessToken(response.data.access);
|
setAccessToken(response.data.access);
|
||||||
setRefreshToken(response.data.refresh);
|
setRefreshToken(response.data.refresh);
|
||||||
return [true];
|
return [true];
|
||||||
|
|
Loading…
Reference in a new issue