refresh route updated

master
hamed 3 years ago
parent 95cbd375cb
commit 0e8ad43d2e
  1. 2
      src/services/api/utils.js

@ -94,7 +94,7 @@ export const renewTokenHandler = async () => {
'Content-Type': 'application/json;charset=utf-8' 'Content-Type': 'application/json;charset=utf-8'
} }
} }
let res = await fetchRetry(await getUrl('/auth/renew-token'), options) let res = await fetchRetry(await getUrl('/user/login'), options)
let { data } = await res.json() let { data } = await res.json()
const statusCode = res.status const statusCode = res.status
if (statusCode == 200) { if (statusCode == 200) {

Loading…
Cancel
Save