fix(client): shit apiVersion everywhere
Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
@@ -5,6 +5,7 @@ import { useEffect } from 'react';
|
||||
import z from 'zod';
|
||||
import { LoginForm } from '@/components/login-form';
|
||||
import { useExchangeToken } from '@/hooks/data/useExchangeToken';
|
||||
import { ver } from '@/lib/apiVersion';
|
||||
import { generateOAuthState } from '@/lib/random';
|
||||
import { getAccessToken } from '@/lib/token';
|
||||
|
||||
@@ -39,6 +40,7 @@ function RouteComponent() {
|
||||
redirect_uri: oauthParams.redirect_uri,
|
||||
state: oauthParams.state,
|
||||
},
|
||||
headers: ver('20260205'),
|
||||
});
|
||||
}
|
||||
}, [token, mutation.isIdle, mutation, oauthParams.client_id, oauthParams.redirect_uri, oauthParams.state]);
|
||||
|
||||
Reference in New Issue
Block a user