Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Merge branch 'feat/logger-fatal' of https://github.com/ubiquity/ubiqu…
Browse files Browse the repository at this point in the history
…ibot into feat/logger-fatal
  • Loading branch information
0x4007 committed Feb 2, 2024
2 parents 0c58d7f + 5a0787c commit 29af19f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/handlers/comment/handlers/issue/issue-closed.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Runtime from "../../../../bindings/bot-runtime";
import { env } from "../../../../bindings/env";
import { checkUserPermissionForRepoAndOrg, getAllIssueComments } from "../../../../helpers/issue";
import { Context } from "../../../../types/context";
import { Comment, Issue, Payload, StateReason } from "../../../../types/payload";
Expand All @@ -26,17 +25,13 @@ export async function issueClosed(context: Context) {
secretToken: process.env.GITHUB_TOKEN,
owner,
repo: repository,
issueNumber,
issueNumber: issue.number.toString(),
payload: JSON.stringify({
issue,
issueComments,
openAiKey: context.config.keys.openAi,
pullRequestComments,
botConfig: context.config,
repoCollaborators,
X25519_PRIVATE_KEY: env.X25519_PRIVATE_KEY,
supabaseUrl: env.SUPABASE_URL,
supabaseKey: env.SUPABASE_KEY,
}),
});
const logger = Runtime.getState().logger;
Expand Down

0 comments on commit 29af19f

Please sign in to comment.