mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
Patch GitHub integration for organization repos by including correct owner
This commit is contained in:
@@ -41,7 +41,8 @@ export const updateIntegration = async (req: Request, res: Response) => {
|
||||
isActive,
|
||||
target, // vercel-specific integration param
|
||||
context, // netlify-specific integration param
|
||||
siteId // netlify-specific integration param
|
||||
siteId, // netlify-specific integration param
|
||||
owner // github-specific integration param
|
||||
} = req.body;
|
||||
|
||||
integration = await Integration.findOneAndUpdate(
|
||||
@@ -54,7 +55,8 @@ export const updateIntegration = async (req: Request, res: Response) => {
|
||||
app,
|
||||
target,
|
||||
context,
|
||||
siteId
|
||||
siteId,
|
||||
owner
|
||||
},
|
||||
{
|
||||
new: true
|
||||
|
||||
Reference in New Issue
Block a user