server/api/services/endorser.db.service.js
// this can be replaced by confirmationByIssuerAndOrigClaim
this can be replaced by confirmationByIssuerAndOrigClaim
this can be replaced by confirmationByIssuerAndOrigClaim
confirmationByIssuerAndOrgRole(issuerDid, orgRoleRowId) {
    return new Promise((resolve, reject) => {
      db.get("SELECT rowid, * FROM confirmation WHERE issuer = ? AND orgRoleRowId = ?", [issuerDid, orgRoleRowId], function(err, row) {
        if (err) {
          reject(err)
        } else if (row) {
          resolve({id:row.rowid, jwtId:row.jwtId, issuerDid:row.issuer, orgRoleId:row.orgRoleRowId})
        } else {
          resolve(null)
        }
      })
    })
  }
confirmationByIssuerAndOrgRole ( issuerDid , orgRoleRowId ) { return new Promise ( ( resolve , reject ) => { db . get ( "SELECT rowid, * FROM confirmation WHERE issuer = ? AND orgRoleRowId = ?" , [ issuerDid , orgRoleRowId ] , function ( err , row ) { if ( err ) { reject ( err ) } else if ( row ) { resolve ( { id : row . rowid , jwtId : row . jwtId , issuerDid : row . issuer , orgRoleId : row . orgRoleRowId } ) } else { resolve ( null ) } } ) } ) }
this can be replaced by confirmationByIssuerAndOrigClaim
this can be replaced by confirmationByIssuerAndOrigClaim