Skip to content

Commit 821fabc

Browse files
committed
fix(certs): Fixed certificate lookup using collection ID, pointer needed to be de-referenced.
1 parent 76ce5f2 commit 821fabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/certificate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ func (c *Client) GetCertificateContext(gca *GetCertificateContextArgs) (*GetCert
347347
}
348348
if gca.CollectionId != nil {
349349
query.Query = append(query.Query, StringTuple{
350-
"collectionId", fmt.Sprintf("%d", gca.CollectionId),
350+
"collectionId", fmt.Sprintf("%d", *gca.CollectionId),
351351
})
352352
}
353353
}

0 commit comments

Comments
 (0)