fix references to partner API server
This commit is contained in:
@@ -1039,7 +1039,7 @@ export default class AccountViewView extends Vue {
|
|||||||
try {
|
try {
|
||||||
const headers = await getHeaders(this.activeDid);
|
const headers = await getHeaders(this.activeDid);
|
||||||
const response = await this.axios.get(
|
const response = await this.axios.get(
|
||||||
this.apiServer +
|
this.partnerApiServer +
|
||||||
"/api/partner/userProfileForIssuer/" +
|
"/api/partner/userProfileForIssuer/" +
|
||||||
this.activeDid,
|
this.activeDid,
|
||||||
{ headers },
|
{ headers },
|
||||||
@@ -1857,7 +1857,7 @@ export default class AccountViewView extends Vue {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
const response = await this.axios.post(
|
const response = await this.axios.post(
|
||||||
this.apiServer + "/api/partner/userProfile",
|
this.partnerApiServer + "/api/partner/userProfile",
|
||||||
payload,
|
payload,
|
||||||
{ headers },
|
{ headers },
|
||||||
);
|
);
|
||||||
@@ -1945,7 +1945,7 @@ export default class AccountViewView extends Vue {
|
|||||||
try {
|
try {
|
||||||
const headers = await getHeaders(this.activeDid);
|
const headers = await getHeaders(this.activeDid);
|
||||||
const response = await this.axios.delete(
|
const response = await this.axios.delete(
|
||||||
this.apiServer + "/api/partner/userProfile",
|
this.partnerApiServer + "/api/partner/userProfile",
|
||||||
{ headers },
|
{ headers },
|
||||||
);
|
);
|
||||||
if (response.status === 204) {
|
if (response.status === 204) {
|
||||||
|
|||||||
Reference in New Issue
Block a user