Skip to content

Commit

Permalink
Fixed erros with path processing
Browse files Browse the repository at this point in the history
  • Loading branch information
JJLongoria committed Sep 12, 2022
1 parent 88ce622 commit fa6b604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "jira-server-connector",
"productName": "Jira Server REST API Connector",
"displayName": "Jira Server REST API Connector",
"version": "0.0.2",
"version": "0.0.3",
"description": "Module to handle and work with Atlassian Jira Server throug REST API. Admin your projects and issues in Jira easy. This project is not an Atlassian official project but use the Atlassian Jira Server REST API",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Expand Up @@ -27,7 +27,7 @@ export class Basic {

private processURL(url: string) {
if (url.endsWith('/')) {
return url.substring(0, url.length - 2);
return url.substring(0, url.length - 1);
}
return url;
}
Expand Down

0 comments on commit fa6b604

Please sign in to comment.