From 87cec12d8153cb53e9fc11acc1aa27a34384554c Mon Sep 17 00:00:00 2001 From: Alex Gerlic Date: Sun, 9 Mar 2025 11:22:04 +0100 Subject: [PATCH] Fix Linear client initialization using apiKey instead of accessToken --- src/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.ts b/src/auth.ts index 5b5f95e..9a8d4ff 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -176,7 +176,7 @@ export class LinearAuth { expiresAt: Number.MAX_SAFE_INTEGER, // PATs don't expire }; this.linearClient = new LinearClient({ - accessToken: config.accessToken, + apiKey: config.accessToken, }); } else { // OAuth flow