Convert dastScan properties to camelCase

parent f38dda01
import Vue from 'vue';
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
import apolloProvider from './graphql/provider';
import OnDemandScansForm from './components/on_demand_scans_form.vue';
......@@ -36,7 +37,7 @@ export default () => {
helpPagePath,
projectPath,
defaultBranch,
dastScan: dastScan ? JSON.parse(dastScan) : null,
dastScan: dastScan ? convertObjectPropsToCamelCase(JSON.parse(dastScan)) : null,
},
});
},
......
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