fix gitlab auth and endpoint url

This commit is contained in:
Luca Faggianelli
2019-10-17 03:33:52 +02:00
parent 34092286bc
commit 2b554db8f3
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ export async function gitlabApiRequest(this: IHookFunctions | IExecuteFunctions,
const options = {
method,
headers: {
'Private-Token': `token ${credentials.accessToken}`,
'Private-Token': `${credentials.accessToken}`,
},
body,
qs: query,