tango-app-api-trax 3.7.23 → 3.7.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.7.23",
3
+ "version": "3.7.24",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -172,8 +172,8 @@ export async function startChecklist( req, res ) {
172
172
  let currentDate = currentDateTime.format( 'hh:mm A' );
173
173
  let updatedscheduleEndTimeISO = dayjs( getBeforeChecklist?.[0]?.scheduleStartTime_iso ).format( 'hh:mm A' );
174
174
  if ( getBeforeChecklist[0]?.client_id == '458' && dayjs.utc( currentDate, 'hh:mm A' ).isBefore( dayjs.utc( updatedscheduleEndTimeISO, 'hh:mm A' ) ) ) {
175
- return res.sendError( `Checklist will be start ${getBeforeChecklist?.[0]?.scheduleStartTime}`, 422 );
176
- }
175
+ return res.sendError( `Checklist will start at ${getBeforeChecklist?.[0]?.scheduleStartTime}`, 422 );
176
+ }
177
177
  updateData.checklistStatus = 'inprogress';
178
178
  updateData.startMobileTime = requestData?.currentTime;
179
179
  updateData.questionAnswers = getBeforeChecklist[0]?.redoStatus ? getBeforeChecklist[0].questionAnswers : PCLQusestion.questionAnswers;