forked from trent_larson/crowd-funder-for-time-pwa
change give provider to a single value
This commit is contained in:
@@ -142,7 +142,7 @@ export interface GiveVerifiableCredential extends GenericVerifiableCredential {
|
|||||||
identifier?: string;
|
identifier?: string;
|
||||||
image?: string;
|
image?: string;
|
||||||
object?: { amountOfThisGood: number; unitCode: string };
|
object?: { amountOfThisGood: number; unitCode: string };
|
||||||
provider?: Array<GenericVerifiableCredential>; // typically @type & identifier
|
provider?: GenericVerifiableCredential; // typically @type & identifier
|
||||||
recipient?: { identifier: string };
|
recipient?: { identifier: string };
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -654,7 +654,7 @@ export function hydrateGive(
|
|||||||
vcClaim.image = imageUrl || undefined;
|
vcClaim.image = imageUrl || undefined;
|
||||||
|
|
||||||
vcClaim.provider = providerPlanHandleId
|
vcClaim.provider = providerPlanHandleId
|
||||||
? [{ "@type": "PlanAction", identifier: providerPlanHandleId }]
|
? { "@type": "PlanAction", identifier: providerPlanHandleId }
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
return vcClaim;
|
return vcClaim;
|
||||||
|
|||||||
@@ -362,8 +362,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
query: {
|
query: {
|
||||||
description: this.description,
|
description: this.description,
|
||||||
destinationPathAfter: "/",
|
destinationPathAfter: "/",
|
||||||
providerProjectId:
|
providerProjectId: BVC_MEETUPS_PROJECT_CLAIM_ID,
|
||||||
"https://endorser.ch/entity/01J8XW5SE5NJZ34TQCC10FC18B", //BVC_MEETUPS_PROJECT_CLAIM_ID,
|
|
||||||
recipientDid: this.activeDid,
|
recipientDid: this.activeDid,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user