v1.3.0-beta/start of voice call and custom code:

This commit is contained in:
Ayushya Amitabh
2020-05-29 17:43:10 -04:00
parent 2053c2860a
commit ccd7f1cfab
15 changed files with 396 additions and 123 deletions
+14
View File
@@ -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',
});
};