forked from jsnbuchanan/crowd-funder-for-time-pwa
feat: restrict to only pull PlanActions for issuer
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user