From 0435ee814e294dce5d45b908d0faf01dbbb8647c Mon Sep 17 00:00:00 2001 From: IJustDev Date: Thu, 31 Dec 2020 13:52:21 +0100 Subject: [PATCH] fix: #21 baseurl, missing / --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 1390956..3f44b57 100644 --- a/src/config.ts +++ b/src/config.ts @@ -77,7 +77,7 @@ export class Config implements ConfigTypes { } public get repoApiUrl(): string { - return this.instanceURL.replace(/\/$/, "") + + return this.instanceURL.replace(/\/$/, "") + "/" + this.baseURL.replace(/\/$/, "") + '/api/v1/repos/' + this.owner +