client/app/bundles/course/survey/actions/responses.js
Function createResponse
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createResponse(surveyId, navigate) {
const courseId = getCourseId();
const goToResponse = (responseId) =>
navigate(
`/courses/${courseId}/surveys/${surveyId}/responses/${responseId}`,
- Create a ticketCreate a ticket
Function updateResponse
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function updateResponse(
responseId,
payload,
successMessage,
failureMessage,
- Create a ticketCreate a ticket
Function updateResponse
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
responseId,
payload,
successMessage,
failureMessage,
navigate,
- Create a ticketCreate a ticket