Skip to content

Commit ebb921c

Browse files
committed
fix typo
1 parent 22c7347 commit ebb921c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GitlabClient {
1414
async request (method, url, data) {
1515
let res;
1616

17-
url.searchParams.append('access_token', this.inputConfig.accesToken);
17+
url.searchParams.append('access_token', this.inputConfig.accessToken);
1818

1919
if (method === 'GET') {
2020
res = await this.client.get(url);
@@ -139,7 +139,7 @@ function getBooleanEnv (name) {
139139
async function main () {
140140
const inputConfig = {
141141
apiUrl: getEnv('CI_API_V4_URL'),
142-
accesToken: getEnv('ACCESS_TOKEN'),
142+
accessToken: getEnv('ACCESS_TOKEN'),
143143
triggerToken: getEnv('TRIGGER_TOKEN'),
144144
projectId: getEnv('PROJECT_ID'),
145145
triggeredRef: getEnv('TRIGGERED_REF'),
@@ -187,7 +187,7 @@ if (github.context.sha) {
187187
// This is executed when running locally and can be used for testing
188188
const inputConfig = {
189189
apiUrl: '',
190-
accesToken: '',
190+
accessToken: '',
191191
triggerToken: '',
192192
projectId: '',
193193
triggeredRef: '',

0 commit comments

Comments
 (0)