fix type of the raw claim sent

This commit is contained in:
2024-06-29 13:32:13 -06:00
parent 053ee4a748
commit dea3f78173
2 changed files with 1 additions and 6 deletions

View File

@@ -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),

View File

@@ -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";