From 40a87946498611d3aa5244737203eb2623af5d84 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 13 Jan 2024 18:48:29 -0700 Subject: [PATCH] remove checks on old fullIri field --- project.task.yaml | 2 -- src/views/NewEditProjectView.vue | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index 852ac89d5..b7be0216b 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -2,8 +2,6 @@ tasks: - choose an agent - make a contact chooser -- remove fullIri -- eliminate setTimeout calls (like we did in NewEditProjectView.vue) - make set-name request yellow - make the "give" on contact screen work like other give (allowing donation vs current blank) - create an identifier automatically, with a message that they can import a different one diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index 92da582cd..ccb9cc604 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -311,17 +311,11 @@ export default class NewEditProjectView extends Vue { try { const resp = await this.axios.post(url, payload, { headers }); - // handleId is new in server v release-1.6.0; remove fullIri when that - // version shows up here: https://api.endorser.ch/api-docs/ - if (resp.data?.success?.handleId || resp.data?.success?.fullIri) { + if (resp.data?.success?.handleId) { this.errorMessage = ""; - // handleId is new in server v release-1.6.0; remove fullIri when that - // version shows up here: https://api.endorser.ch/api-docs/ useAppStore() - .setProjectId( - resp.data.success.handleId || resp.data.success.fullIri, - ) + .setProjectId(resp.data.success.handleId) .then(() => { this.$router.push({ name: "project" }); });