jira-ai 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,7 @@ export function getConfluenceClient() {
|
|
|
20
20
|
const apiToken = process.env.JIRA_API_TOKEN;
|
|
21
21
|
if (host && email && apiToken) {
|
|
22
22
|
confluenceClient = new ConfluenceClient({
|
|
23
|
-
host: host.
|
|
23
|
+
host: host.replace(/\/$/, ''),
|
|
24
24
|
authentication: {
|
|
25
25
|
basic: {
|
|
26
26
|
email,
|
|
@@ -33,7 +33,7 @@ export function getConfluenceClient() {
|
|
|
33
33
|
const storedCreds = loadCredentials(organizationOverride);
|
|
34
34
|
if (storedCreds) {
|
|
35
35
|
confluenceClient = new ConfluenceClient({
|
|
36
|
-
host: storedCreds.host.
|
|
36
|
+
host: storedCreds.host.replace(/\/$/, ''),
|
|
37
37
|
authentication: {
|
|
38
38
|
basic: {
|
|
39
39
|
email: storedCreds.email,
|