We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e52f34 commit e517526Copy full SHA for e517526
src/middleware/gitops.js
@@ -26,7 +26,7 @@ const CONTENT_TYPE_ARRAY = ['COMPONENT'];
26
export async function featureFlag(req, res, next) {
27
try {
28
const domainId = req.path === '/gitops/v1/push' ?
29
- req.domain : req.body?.domain.id | req.params.domainId;
+ req.domain : req.body?.domain.id | req.params.domain;
30
31
await checkGitopsIntegration(domainId);
32
next();
0 commit comments