mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
fix: Include installation ID in headers (#510)
This commit is contained in:
parent
ec0c93ef94
commit
11872f9fb4
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import { GitHubApp } from "../../utils/github-app.js";
|
|||
import { Webhooks } from "@octokit/webhooks";
|
||||
import { createLangGraphClient } from "../../utils/langgraph-client.js";
|
||||
import {
|
||||
GITHUB_INSTALLATION_ID,
|
||||
GITHUB_INSTALLATION_NAME,
|
||||
GITHUB_INSTALLATION_TOKEN_COOKIE,
|
||||
GITHUB_USER_ID_HEADER,
|
||||
|
|
@ -146,6 +147,7 @@ webhooks.on("issues.labeled", async ({ payload }) => {
|
|||
[GITHUB_INSTALLATION_NAME]: issueData.owner,
|
||||
[GITHUB_USER_ID_HEADER]: issueData.userId.toString(),
|
||||
[GITHUB_USER_LOGIN_HEADER]: issueData.userLogin,
|
||||
[GITHUB_INSTALLATION_ID]: installationId.toString(),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue