Skip to content

Commit 8d5300d

Browse files
committed
add original v1.3.3 fix
1 parent 9e3205e commit 8d5300d

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
@@ -241,7 +241,7 @@ func (c *Client) RevokeCert(rvargs *RevokeCertArgs) error {
241241
return errors.New("invalid or nonexistent values required for certificate revocation")
242242
}
243243

244-
if rvargs.EffectiveDate == "" {
244+
if rvargs.EffectiveDate == "" || rvargs.EffectiveDate == "{null}" || rvargs.EffectiveDate == "null" {
245245
rvargs.EffectiveDate = getTimestamp()
246246
}
247247

0 commit comments

Comments
 (0)