Skip to content

Commit

Permalink
fix limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodolfo Miranda committed Aug 3, 2023
1 parent 13dc8c0 commit f9b9524
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/integration-scripts/request-present.ts
Original file line number Diff line number Diff line change
@@ -220,11 +220,12 @@ async function run() {
await new Promise(resolve => setTimeout(resolve, 1000));
}

let creds3 = await client3.credentials().list('verifier')
let creds3 = await client3.credentials().list('verifier',{filter:{"-i": {"$eq": aid1.prefix}}}) // filter by issuer
assert.equal(creds3.length, 1)
assert.equal(creds3[0].sad.s, schemaSAID)
assert.equal(creds3[0].sad.i, aid1.prefix)
assert.equal(creds3[0].status.s, "0") // 0 = issued
assert.equal(creds3[0].sad.a.i, aid2.prefix) // verify that the issuee is the same as the presenter
console.log("Credential presented and received by verifier")


2 changes: 1 addition & 1 deletion src/keri/app/signify.ts
Original file line number Diff line number Diff line change
@@ -715,7 +715,7 @@ class Credentials {
filter: filtr,
sort: sort,
skip: skip,
limt: limit
limit: limit
}
let method = 'POST'

0 comments on commit f9b9524

Please sign in to comment.