rez_core 5.0.252 → 5.0.253
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
|
@@ -948,16 +948,6 @@ export class IntegrationService {
|
|
|
948
948
|
const subjectPrefix = this.configService.get('SUBJECT_PREFIX');
|
|
949
949
|
const profile = this.configService.get('PROFILE');
|
|
950
950
|
|
|
951
|
-
if (subjectPrefix) {
|
|
952
|
-
const updatedSubject =
|
|
953
|
-
profile?.charAt(0).toUpperCase() +
|
|
954
|
-
profile?.slice(1) +
|
|
955
|
-
' : ' +
|
|
956
|
-
subject; // << use current subject
|
|
957
|
-
|
|
958
|
-
subject = updatedSubject;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
951
|
// Handle multiple recipients by sending to each individually
|
|
962
952
|
if (Array.isArray(to)) {
|
|
963
953
|
const results: IntegrationResult[] = [];
|
|
@@ -996,6 +986,16 @@ export class IntegrationService {
|
|
|
996
986
|
subject = templateData.subject;
|
|
997
987
|
}
|
|
998
988
|
|
|
989
|
+
if (subjectPrefix) {
|
|
990
|
+
const updatedSubject =
|
|
991
|
+
profile?.charAt(0).toUpperCase() +
|
|
992
|
+
profile?.slice(1) +
|
|
993
|
+
' : ' +
|
|
994
|
+
subject; // << use current subject
|
|
995
|
+
|
|
996
|
+
subject = updatedSubject;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
999
|
// Merge config with enhanced parameters
|
|
1000
1000
|
let finalConfig = {
|
|
1001
1001
|
...hub.config_json,
|
|
@@ -1090,6 +1090,16 @@ export class IntegrationService {
|
|
|
1090
1090
|
subject = templateData.subject;
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
+
if (subjectPrefix) {
|
|
1094
|
+
const updatedSubject =
|
|
1095
|
+
profile?.charAt(0).toUpperCase() +
|
|
1096
|
+
profile?.slice(1) +
|
|
1097
|
+
' : ' +
|
|
1098
|
+
subject; // << use current subject
|
|
1099
|
+
|
|
1100
|
+
subject = updatedSubject;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1093
1103
|
// Merge config with enhanced parameters
|
|
1094
1104
|
let finalConfig = {
|
|
1095
1105
|
...hub.config_json,
|