Change data structure

This commit is contained in:
Yarmo Mackenbach 2020-10-24 23:35:54 +02:00
parent e2f9c2bae2
commit 061c834f84
4 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ const processURI = (uri, opts) => {
claim: { claim: {
fingerprint: null, fingerprint: null,
format: 'uri', format: 'uri',
path: 'Answer.data', path: ['Answer', 'data'],
relation: 'equals' relation: 'equals'
}, },
qr: null qr: null

View file

@ -37,7 +37,7 @@ const processURI = (uri, opts) => {
claim: { claim: {
fingerprint: null, fingerprint: null,
format: 'uri', format: 'uri',
path: 'about', path: ['about'],
relation: 'contains' relation: 'contains'
}, },
qr: null qr: null

View file

@ -37,7 +37,7 @@ const processURI = (uri, opts) => {
claim: { claim: {
fingerprint: null, fingerprint: null,
format: 'message', format: 'message',
path: null, path: [],
relation: 'contains' relation: 'contains'
}, },
qr: null qr: null

View file

@ -39,7 +39,7 @@ const processURI = (uri, opts) => {
claim: { claim: {
fingerprint: null, fingerprint: null,
format: 'message', format: 'message',
path: null, path: [],
relation: 'contains' relation: 'contains'
}, },
qr: null qr: null