@izara_project/izara-core-library-service-schemas 1.0.86 → 1.0.87
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 +1 -1
- package/src/Utils.js +1 -2
package/package.json
CHANGED
package/src/Utils.js
CHANGED
|
@@ -738,7 +738,6 @@ async function getApiLinksV1() {
|
|
|
738
738
|
async function getApiLinksV2(objSchema) {
|
|
739
739
|
try {
|
|
740
740
|
const client = new ApiGatewayV2Client({ region: process.env.iz_region });
|
|
741
|
-
const urls = [];
|
|
742
741
|
const apiLink = {};
|
|
743
742
|
let nextToken;
|
|
744
743
|
|
|
@@ -767,7 +766,7 @@ async function getApiLinksV2(objSchema) {
|
|
|
767
766
|
const [method, path] = routeKeyParts;
|
|
768
767
|
if (method === "POST" && path.endsWith("get")) {
|
|
769
768
|
if (path.includes(consts.firstLetterLowerCase(objSchema.objectType))) {
|
|
770
|
-
const fullUrl = `https://${apiId}.execute-api.${process.env.iz_region}.amazonaws.com${path}`;
|
|
769
|
+
const fullUrl = `https://${apiId}.execute-api.${process.env.iz_region}.amazonaws.com/${process.env.iz_serviceTag}${path}`;
|
|
771
770
|
Object.assign(apiLink, { Url: fullUrl })
|
|
772
771
|
}
|
|
773
772
|
// urls.push({
|