small change in resposne message of Create Activtiy handler

This commit is contained in:
paritosh18
2025-12-22 17:04:02 +05:30
parent cab4408dc8
commit 1540688b7d

View File

@@ -1,3 +1,4 @@
// src/modules/host/services/host.service.ts
import { Injectable } from '@nestjs/common';
import {
@@ -2661,7 +2662,7 @@ async createOrUpdateActivity(
return {
activityXid,
activityRefNumber: activity.activityRefNumber,
status: isDraft ? 'ACTIVITY_SAVED_AS_DRAFT' : 'ACTIVITY_SUBMITTED',
status: isDraft ? ACTIVITY_INTERNAL_STATUS.ACTIVITY_DRAFT : ACTIVITY_INTERNAL_STATUS.ACTIVITY_SUBMITTED,
};
});
}