Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vtalas committed Nov 12, 2024
1 parent 0c15812 commit a96858c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/appmixer/wiz/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ module.exports = {
}
},

getOutputPortOptions(context, outputType, itemSchema ) {
getOutputPortOptions(context, outputType, itemSchema) {

if (outputType === 'object' || outputType === 'first') {
const options = Object.keys(itemSchema)
const options = Object.keys(itemSchema)
.map(field => {
const schema = itemSchema[field];
const label = schema.title;
Expand Down Expand Up @@ -61,7 +61,9 @@ module.exports = {

async makeApiCall({ context, method = 'GET', data }) {

const url = 'https://api.eu4.app.wiz.io/graphql';
const url = context.config.apiEndpointUrl || 'https://api.eu4.app.wiz.io/graphql';

context.log({ stage: 'API URL', url });

return context.httpRequest({
method,
Expand Down

0 comments on commit a96858c

Please sign in to comment.