Skip to content

Conversation

@JesusEArambula
Copy link
Collaborator

I added the city, state, and zip variables to resources.js under both models and api directories. I also made a create-city-state-zip.js model for the migration.

Screen Shot 2021-08-18 at 5 30 55 PM

However, when submitting on the website, I get a server error originating from api/resource, but I can't figure out what it is. Any ideas?

Screen Shot 2021-08-18 at 5 33 25 PM

@francisli
Copy link
Contributor

I think the error is related to the bug Zuri reported in #57

Try changing the Category before submitting, and I think it will work...

@JesusEArambula
Copy link
Collaborator Author

Ok so, yea the problem is the drop down tag, you have to manually select an option in order for the request to process. I don't know how to set an option as the default selected Category.

@francisli
Copy link
Contributor

@JesusEArambula yeah, let me work on the category error issue, and when I get it merged in, I'll update this branch as well... in the meantime, you should be able to continue working/testing this branch, just making sure that you select a Category option before submitting...

I merged in your other branch into master, and now there are some conflicts that should be resolved.

Can you try practicing updating your branch from master, and resolving conflicts?

@francisli
Copy link
Contributor

@JesusEArambula I've merged the latest from master branch with the bug fixes I made into this branch (resolving the conflicts along the way)... so you should be able to finish this branch and new feature...!

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.

3 participants