@maschinenlesbar.org/dip-bundestag-cli
    Preparing search index...

    Function cleartextCredentialsProblem

    • Parameters

      • baseUrl: string
      • hasKey: boolean

      Returns string | undefined

      Use cleartextProblem, which also warns when no secret is sent. Kept for library callers: the same check with "the API key" as the secret when hasKey, and still undefined when neither a key nor a user:password@ goes out.