erpnext-queue-client 1.34.4 → 1.34.6
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/dist/client.js
CHANGED
|
@@ -114,6 +114,9 @@ class TemporalClient {
|
|
|
114
114
|
args: [optionsWithoutValidationModels],
|
|
115
115
|
taskQueue: priority < 5 ? `${queue}_priority` : queue, // add to priority queue if priority is 0-5
|
|
116
116
|
workflowId: runId,
|
|
117
|
+
searchAttributes: {
|
|
118
|
+
requestName: [requestName],
|
|
119
|
+
},
|
|
117
120
|
})
|
|
118
121
|
.catch((err) => {
|
|
119
122
|
var _a, _b, _c;
|
|
@@ -67,7 +67,9 @@ class ERPNextServicecase {
|
|
|
67
67
|
for (const returnItem of (_a = servicecase.return_items) !== null && _a !== void 0 ? _a : []) {
|
|
68
68
|
if (!returnItem.attachments) {
|
|
69
69
|
const attachmentCollection = yield this.attachmentCollectionRequest.create({
|
|
70
|
-
body: {
|
|
70
|
+
body: {
|
|
71
|
+
attachments: [],
|
|
72
|
+
},
|
|
71
73
|
});
|
|
72
74
|
returnItem.attachments = attachmentCollection.name;
|
|
73
75
|
}
|