@izara_project/izara-core-generate-service-code 1.0.15 → 1.0.16
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
|
@@ -185,7 +185,7 @@ export default async function getMain(
|
|
|
185
185
|
|
|
186
186
|
let messageObject = {
|
|
187
187
|
objType: objType,
|
|
188
|
-
objInstanceFull: dataFromGraph.queryResults.refactoredNodes.objInstanceFull
|
|
188
|
+
objInstanceFull: dataFromGraph.returnValue.queryResults.refactoredNodes.objInstanceFull
|
|
189
189
|
}
|
|
190
190
|
// send message to SNS ProcessFindRequiredData
|
|
191
191
|
_izContext.logger.debug("HAVE CallingFlow");
|
|
@@ -139,7 +139,7 @@ async function createParamForCreateSource(
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
let event;
|
|
142
|
-
if (handler === HANDLER.hdrApi) {
|
|
142
|
+
if (handler === HANDLER.hdrApi && action !== ACTIONS.get) {
|
|
143
143
|
event = httpEvent(action);
|
|
144
144
|
} else if (handler === HANDLER.hdrDsq || handler === HANDLER.hdrSqs) {
|
|
145
145
|
event = sqsEvent(handler);
|
|
@@ -258,7 +258,7 @@ async function createParamForCreateSource(
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
let resourceApis = [];
|
|
261
|
-
if (handler === HANDLER.hdrApi) {
|
|
261
|
+
if (handler === HANDLER.hdrApi && action !== ACTIONS.get) {
|
|
262
262
|
for (const objectSchema of allObjSchemas.records) {
|
|
263
263
|
resourceApis.push({
|
|
264
264
|
event: lowerCase(objectSchema.objectType),
|