in public/js/services/WorkflowApi.js [76:93]
getSections() {
const workflowUrl = getWorkflowUrl();
return pandaFetch(
`${workflowUrl}/api/sections`,
{
method: 'get',
credentials: 'include',
mode: 'cors',
cache: 'default'
}
).then(response => {
return response.json();
}).then(sections => {
return _.orderBy(sections.data, 'name');
});
},