forked from jsnbuchanan/crowd-funder-for-time-pwa
fix type of the raw claim sent
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user