You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed in a couple of places there exist two very similar blocks of code -- generally the first block has a problem and the second block does not. An example in /src/controllers/addContact.js: the getEventList() -> getGroupList() chain is duplicated. The first time, neither is passed an argument, which causes an error; the second time both are passed the user's email address and the queries are able to execute.
Commenting out the first block means the request is deal with successfully, the event list and group list dropdowns are populated and the server doesn't crash.
My best guess is this is a merge that has gone awry somewhere?
The other file where this occurs is /src/controllers/postGroup.js
The text was updated successfully, but these errors were encountered:
I've noticed in a couple of places there exist two very similar blocks of code -- generally the first block has a problem and the second block does not. An example in
/src/controllers/addContact.js
: thegetEventList()
->getGroupList()
chain is duplicated. The first time, neither is passed an argument, which causes an error; the second time both are passed the user's email address and the queries are able to execute.Commenting out the first block means the request is deal with successfully, the event list and group list dropdowns are populated and the server doesn't crash.
My best guess is this is a merge that has gone awry somewhere?
The other file where this occurs is
/src/controllers/postGroup.js
The text was updated successfully, but these errors were encountered: