forked from 77media/video-flow
鉴权接口
This commit is contained in:
parent
99b8c9b474
commit
99d351d897
@ -252,7 +252,7 @@ export const getUserProfile = async (): Promise<any> => {
|
|||||||
throw new Error('No token available');
|
throw new Error('No token available');
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch(`${API_BASE_URL}/java-auth/profile`, {
|
const response = await fetch(`${API_BASE_URL}/auth/profile`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user