Commented out debug logs in api

This commit is contained in:
Keannu Bernasol 2023-07-04 19:40:25 +08:00
parent 877da5123a
commit e40f32d327

View file

@ -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];