Small fixes to Gitlab node before merge

This commit is contained in:
Jan Oberhauser
2019-10-25 08:15:36 +02:00
parent eb2425cc4f
commit 4ebdffd0dd
3 changed files with 5 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ export async function gitlabApiRequest(this: IHookFunctions | IExecuteFunctions,
},
body,
qs: query,
uri: `${(credentials.server as string).replace(/\/$/, '')}/api/v4/${endpoint}`,
uri: `${(credentials.server as string).replace(/\/$/, '')}/api/v4${endpoint}`,
json: true
};