Fixed vodia js URLs
This commit is contained in:
@@ -10,7 +10,7 @@ async function getVodiaIdentity() {
|
||||
$("#vodia-identity-switcher .phone-icon").addClass("fa-spin text-warning");
|
||||
}
|
||||
|
||||
var response = await fetch(baseurl + '/User/Api/do=getVodiaIdentity');
|
||||
var response = await fetch(baseurl + 'User/Api/do=getVodiaIdentity');
|
||||
if (!response.ok) {
|
||||
$("#vodia-identity-switcher a.phone-icon i").removeClass("fa-spin");
|
||||
return false;
|
||||
@@ -126,7 +126,7 @@ async function setVodiaOutboundIdentity(number) {
|
||||
$("#vodia-identities-list").empty();
|
||||
$("#vodia-identities-list").append("<img src='" + baseurl + "img/ajax-loader.gif' />");
|
||||
|
||||
var response = await fetch(baseurl + '/User/Api/do=setVodiaIdentity',{
|
||||
var response = await fetch(baseurl + 'User/Api/do=setVodiaIdentity',{
|
||||
method: 'POST',
|
||||
body: new URLSearchParams({
|
||||
'number': number
|
||||
|
||||
Reference in New Issue
Block a user