Browse Source

feat: restrict to only pull PlanActions for issuer

kb/add-usage-guide
Trent Larson 2 years ago
parent
commit
4664d697fd
  1. 5
      src/views/ProjectsView.vue

5
src/views/ProjectsView.vue

@ -82,7 +82,10 @@ export default class ProjectsView extends Vue {
async LoadProjects(identity: IIdentifier) { async LoadProjects(identity: IIdentifier) {
const endorserApiServer = AppString.DEFAULT_ENDORSER_API_SERVER; const endorserApiServer = AppString.DEFAULT_ENDORSER_API_SERVER;
const url = endorserApiServer + "/api/claim/?claimContents=" + identity.did; const url =
endorserApiServer +
"/api/claim/?claimType=PlanAction&issuer=" +
identity.did;
const token = await accessToken(identity); const token = await accessToken(identity);
const headers = { const headers = {
"Content-Type": "application/json", "Content-Type": "application/json",

Loading…
Cancel
Save