feat: adicionar suporte a deep links para filamentos e corrigir nomes de parâmetros na API de autenticação

This commit is contained in:
2026-03-14 21:37:47 -03:00
parent 2ae6a195bb
commit 3689083e55
4 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ httpClient.interceptors.response.use(
const refreshToken = await SecureStore.getItemAsync(SECURE_STORE_REFRESH_TOKEN);
if (!refreshToken) throw new Error('No refresh token');
const { data } = await axios.post(`${API_BASE_URL}/auth/refresh`, { refreshToken });
const { data } = await axios.post(`${API_BASE_URL}/auth/refresh`, { refresh_token: refreshToken });
await SecureStore.setItemAsync(SECURE_STORE_ACCESS_TOKEN, data.access_token);
await SecureStore.setItemAsync(SECURE_STORE_REFRESH_TOKEN, data.refresh_token);