docusign / docusign-click-csharp-client

Docusign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your Docusign integrations.
MIT License
2 stars 5 forks source link

Setting basePath to demo environment does not work #10

Open niebuhrFirstcon opened 1 year ago

niebuhrFirstcon commented 1 year ago

https://github.com/docusign/docusign-click-csharp-client/blob/df074b2d6716f1a9a0655e08e2d8f0f84cd9a940/sdk/src/DocuSign.Click/Client/DocuSignClient.cs#L108

This line states, that my basePath will only be used, if it is null or empty. Or do i miss something?

InbarGazit commented 1 year ago

No, this lines means we default to production, if you do not set anything. We set it to what you have in the configuration object, but if you have nothing (null or empty) we default to Production_REST_BasePath

niebuhrFirstcon commented 1 year ago

Isn't there a ! missing in front of the string.IsNullOrEmpty? I don't get it... I cloned the repo and set the !, now it works for me...

kenharris commented 1 year ago

Thanks for your report @niebuhrFirstcon - this does indeed look like a bug. Our team will look into it.