From 2687742e2391124c371b833ca85e849a9301e96b Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 9 Oct 2023 16:21:06 +0200 Subject: [PATCH] feat: add github proof location --- src/serviceProviders/github.js | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/serviceProviders/github.js b/src/serviceProviders/github.js index 75953ea..bbe4653 100644 --- a/src/serviceProviders/github.js +++ b/src/serviceProviders/github.js @@ -53,12 +53,20 @@ export function processURI (uri) { response: { format: E.ProofFormat.JSON }, - target: [{ - format: E.ClaimFormat.URI, - encoding: E.EntityEncodingFormat.PLAIN, - relation: E.ClaimRelation.CONTAINS, - path: ['files', 'openpgp.md', 'content'] - }] + target: [ + { + format: E.ClaimFormat.URI, + encoding: E.EntityEncodingFormat.PLAIN, + relation: E.ClaimRelation.CONTAINS, + path: ['files', 'proof.md', 'content'] + }, + { + format: E.ClaimFormat.URI, + encoding: E.EntityEncodingFormat.PLAIN, + relation: E.ClaimRelation.CONTAINS, + path: ['files', 'openpgp.md', 'content'] + } + ] } }) }