Commit 19cba23a authored by Sietse Ringers's avatar Sietse Ringers
Browse files

fix: incorrect casing in revocation table name

parent 27cc55f2
......@@ -362,7 +362,7 @@ func (rs *RevocationStorage) AddIssuanceRecord(r *IssuanceRecord) error {
func (rs *RevocationStorage) IssuanceRecords(id CredentialTypeIdentifier, key string, issued time.Time) ([]*IssuanceRecord, error) {
where := map[string]interface{}{"cred_type": id, "revocationkey": key, "revoked_at": 0}
if !issued.IsZero() {
where["Issued"] = issued.UnixNano()
where["issued"] = issued.UnixNano()
var r []*IssuanceRecord
err := rs.sqldb.Find(&r, where)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment