Commit 98c4ec94 authored by Fernando's avatar Fernando

Fix create mr from modal regression

* Update endpoint path variable.
* Was undefined and would cause exception

Add changelog
parent c792485f
......@@ -221,13 +221,13 @@ export const createMergeRequest = ({ dispatch }, { vulnerability, flashError })
const {
report_type,
project_fingerprint,
vulnerability_feedback_merge_request_path,
create_vulnerability_feedback_merge_request_path,
} = vulnerability;
dispatch('requestCreateMergeRequest');
axios
.post(vulnerability_feedback_merge_request_path, {
.post(create_vulnerability_feedback_merge_request_path, {
vulnerability_feedback: {
feedback_type: 'merge_request',
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