UBERF-12445: Fix adding second Github integration for same user (#9531)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-07-13 22:04:08 +07:00
committed by GitHub
parent 6c242660c5
commit fa6fcc12aa
5 changed files with 135 additions and 62 deletions
+2 -1
View File
@@ -97,7 +97,8 @@ export async function start (ctx: MeasureContext, brandingMap: BrandingMap): Pro
ctx.error('failed to map-installation', {
workspace: tok.workspace,
installationid: payloadData.installationId,
email: tok?.account
email: tok?.account,
error: err.message
})
res.status(401)
res.json({ error: err.message })