Commit 585c5cad authored by Fatih Acet's avatar Fatih Acet

Merge branch 'fix-broken-create-mr-from-vuln-modal' into 'master'

Fix create merge request from vuln modal regression

See merge request gitlab-org/gitlab-ee!13524
parents 4486a834 98c4ec94
...@@ -221,13 +221,13 @@ export const createMergeRequest = ({ dispatch }, { vulnerability, flashError }) ...@@ -221,13 +221,13 @@ export const createMergeRequest = ({ dispatch }, { vulnerability, flashError })
const { const {
report_type, report_type,
project_fingerprint, project_fingerprint,
vulnerability_feedback_merge_request_path, create_vulnerability_feedback_merge_request_path,
} = vulnerability; } = vulnerability;
dispatch('requestCreateMergeRequest'); dispatch('requestCreateMergeRequest');
axios axios
.post(vulnerability_feedback_merge_request_path, { .post(create_vulnerability_feedback_merge_request_path, {
vulnerability_feedback: { vulnerability_feedback: {
feedback_type: 'merge_request', feedback_type: 'merge_request',
category: report_type, category: report_type,
......
---
title: Fix create mr from vuln modal regression
merge_request: 13524
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment