client/app/bundles/course/reference-timelines/operations.ts
Function createTime
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async (dispatch) => {
const adaptedData: TimePostData = {
reference_time: {
lesson_plan_item_id: itemId,
start_at: time.startAt,
- Create a ticketCreate a ticket
Function updateTime
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async (dispatch) => {
const adaptedData: TimePostData = {
reference_time: {
start_at: time.startAt,
bonus_end_at: time.bonusEndAt,
- Create a ticketCreate a ticket