v1.3.0-beta/start of voice call and custom code:
This commit is contained in:
@@ -109,3 +109,17 @@ export const UpdatePlayerApi = async (data) => {
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
};
|
||||
|
||||
export const GetVoxeetTokenApi = async () => {
|
||||
return fetcher({
|
||||
endpoint: 'validator',
|
||||
method: 'GET',
|
||||
});
|
||||
};
|
||||
|
||||
export const GetRefreshedVoxeetTokenApi = async (data) => {
|
||||
return fetcher({
|
||||
endpoint: `refresher/${data.token}`,
|
||||
method: 'GET',
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user