Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add error treatment to apiUmbrellaWeb[...].createApiBackend -… #564

Merged

Conversation

mauriciovieira
Copy link
Contributor

Reverts apinf/api-umbrella-dashboard#527

Just to comment out and remove lines as @brylie requested

mauriciovieira added a commit that referenced this pull request Oct 30, 2015
…or-handling

Revert "Add error treatment to apiUmbrellaWeb[...].createApiBackend -…
@mauriciovieira mauriciovieira merged commit 39232ef into develop Oct 30, 2015
@mauriciovieira mauriciovieira deleted the revert-527-feature/api-backend-error-handling branch October 30, 2015 10:23
@brylie
Copy link
Contributor

brylie commented Oct 30, 2015

What is the current working branch @mauriciovieira?

context = this;

// Send the API Backend to API Umbrella
response = Meteor.call('createApiBackendOnApiUmbrella', apiBackendForm, function(error, apiUmbrellaWebResponse) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This callback function is expecting to be handed two parameters. When we console.log(apiUmbrellaWebResponse we get undefined.

It looks like createApiBackendOnApiUmbrella needs to return the apiUmbrellaWebResponse object, so this callback function will work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brylie I fixed everything with f8d7c08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants