|
@ -218,13 +218,13 @@ export default class NewEditProjectView extends Vue { |
|
|
try { |
|
|
try { |
|
|
const resp = await this.axios.post(url, payload, { headers }); |
|
|
const resp = await this.axios.post(url, payload, { headers }); |
|
|
// handleId is new in server v release-1.6.0; remove fullIri when that |
|
|
// handleId is new in server v release-1.6.0; remove fullIri when that |
|
|
// version shows up here: https://endorser.ch:3000/api-docs/ |
|
|
// version shows up here: https://api.endorser.ch/api-docs/ |
|
|
if (resp.data?.success?.handleId || resp.data?.success?.fullIri) { |
|
|
if (resp.data?.success?.handleId || resp.data?.success?.fullIri) { |
|
|
this.errorMessage = ""; |
|
|
this.errorMessage = ""; |
|
|
this.alertTitle = ""; |
|
|
this.alertTitle = ""; |
|
|
this.alertMessage = ""; |
|
|
this.alertMessage = ""; |
|
|
// handleId is new in server v release-1.6.0; remove fullIri when that |
|
|
// handleId is new in server v release-1.6.0; remove fullIri when that |
|
|
// version shows up here: https://endorser.ch:3000/api-docs/ |
|
|
// version shows up here: https://api.endorser.ch/api-docs/ |
|
|
useAppStore().setProjectId( |
|
|
useAppStore().setProjectId( |
|
|
resp.data.success.handleId || resp.data.success.fullIri, |
|
|
resp.data.success.handleId || resp.data.success.fullIri, |
|
|
); |
|
|
); |
|
|