-
Notifications
You must be signed in to change notification settings - Fork 2
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
Link front end details form with back end database #96
Conversation
relates #96
I'm unable to review this because I'm getting an error when trying to run the site locally. Can you check? Error below -
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should change the db.sql so that FAC code is written as FAC 'cohort' so that this code is much more clear.
src/test/db.test.js
Outdated
|
||
const selectAllMembers = 'SELECT * FROM members'; | ||
const getFilteredMembers = arg => dbConnection.query('SELECT * FROM members WHERE github_id = $1', [arg]).then(res => res[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have getMemberData which does the same thing
Closes #36