Skip to content

Commit b4823a3

Browse files
authored
Merge pull request #5 from agerlic/Fix_Linear_client_initialization_using_apiKey_instead_of_accessToken
Fix Linear Personal Access Token (PAT) client initialization using apiKey instead of accessToken
2 parents dc2fcc1 + 87cec12 commit b4823a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class LinearAuth {
176176
expiresAt: Number.MAX_SAFE_INTEGER, // PATs don't expire
177177
};
178178
this.linearClient = new LinearClient({
179-
accessToken: config.accessToken,
179+
apiKey: config.accessToken,
180180
});
181181
} else {
182182
// OAuth flow

0 commit comments

Comments
 (0)