Finish support for GitLab groups integration

This commit is contained in:
Tuan Dang
2023-03-10 21:25:04 +07:00
parent 3f3516b7ba
commit 0269b58a3c
13 changed files with 319 additions and 181 deletions

View File

@@ -64,9 +64,6 @@ router.post(
integrationAuthController.saveIntegrationAccessToken
);
// this can optionally accept a teamId?
// IF teamId is passed in then it probably means that we want to get
// the apps for that team
router.get(
'/:integrationAuthId/apps',
requireAuth({
@@ -76,7 +73,7 @@ router.get(
acceptedRoles: [ADMIN, MEMBER]
}),
param('integrationAuthId'),
query('entity'),
query('teamId'),
validateRequest,
integrationAuthController.getIntegrationAuthApps
);