From d607f6ea9f26d17e1c3560e72a491a89e433fbb7 Mon Sep 17 00:00:00 2001 From: Philip Douglass Date: Thu, 24 Jun 2021 21:24:44 -0400 Subject: [PATCH] Update use of createAppAuth in github-api-client.ts This update is provided due to the message: `Deprecation: [@octokit/auth-app] "createAppAuth({ id })" is deprecated, use "createAppAuth({ appId })" instead` in my Node-RED logs. --- src/nodes/shared/github-api-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodes/shared/github-api-client.ts b/src/nodes/shared/github-api-client.ts index f9a748b..44f7356 100644 --- a/src/nodes/shared/github-api-client.ts +++ b/src/nodes/shared/github-api-client.ts @@ -22,7 +22,7 @@ export class GithubApiClient { } ) { const auth = createAppAuth({ - id: appId, + appId: appId, privateKey: privKey, installationId: instId, });