Skip to content

Commit e517526

Browse files
committed
hotfix: GitOps Account - fixed doamin params
1 parent 6e52f34 commit e517526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/gitops.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const CONTENT_TYPE_ARRAY = ['COMPONENT'];
2626
export async function featureFlag(req, res, next) {
2727
try {
2828
const domainId = req.path === '/gitops/v1/push' ?
29-
req.domain : req.body?.domain.id | req.params.domainId;
29+
req.domain : req.body?.domain.id | req.params.domain;
3030

3131
await checkGitopsIntegration(domainId);
3232
next();

0 commit comments

Comments
 (0)