From 5e39b91ee5b8f6cebe04eb83e00878a8aa6892d9 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 29 Jun 2024 13:32:13 -0600 Subject: [PATCH] fix type of the raw claim sent --- src/views/ClaimAddRawView.vue | 6 +----- src/views/GiftedDetails.vue | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/views/ClaimAddRawView.vue b/src/views/ClaimAddRawView.vue index e59c46c..96f4977 100644 --- a/src/views/ClaimAddRawView.vue +++ b/src/views/ClaimAddRawView.vue @@ -95,11 +95,7 @@ export default class ClaimAddRawView extends Vue { // similar code is found in ProjectViewView async submitClaim() { - const fullClaim: serverUtil.GenericVerifiableCredential = { - "@context": "https://schema.org", - "@type": "AgreeAction", - object: JSON.parse(this.claimStr), - }; + const fullClaim = JSON.parse(this.claimStr); const result = await serverUtil.createAndSubmitClaim( fullClaim, await this.getIdentity(this.activeDid), diff --git a/src/views/GiftedDetails.vue b/src/views/GiftedDetails.vue index cb7f6ee..48d8719 100644 --- a/src/views/GiftedDetails.vue +++ b/src/views/GiftedDetails.vue @@ -319,7 +319,6 @@ export default class GiftedDetails extends Vue { this.axios, this.apiServer, ); - console.log("Got project name from cache", project); this.projectName = project?.name ? "the project: " + project.name : "a project";