Skip to content

Wrong Type in CreateCertificateOptions #5

@ziobob94

Description

@ziobob94

Hi, i got an issue on the type of strict domain, the ZeroSSL' API want 0 or 1 but the type definition is

export type CreateCertificateOptions = {
csr: string
domains: string[]
validityDays: 90 | 365

strictDomains: boolean // NEED TO BE AN INTEGER or 0 | 1 type

}

from zerossl docs

https://zerossl.com/documentation/api/create-certificate/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions