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

user_page isn't returning any content at the moment #29

Open
jwld opened this issue Apr 10, 2020 · 0 comments
Open

user_page isn't returning any content at the moment #29

jwld opened this issue Apr 10, 2020 · 0 comments
Labels
P1 Priority

Comments

@jwld
Copy link

jwld commented Apr 10, 2020

Of course fine if that page isn't done yet, but since that's where you're redirecting users after sign up it probably should be addressed! Could either redirect to a finished page, or add a message with links to the other pages, whatever you think best!

res.writeHead(200, { "content-type": "text/html" });
res.end();
// model
// .getUserPosts(jwt.username)
// .then(result => result.rows)
// .then(posts => {
// res.end(templates.displayUserPosts(posts));
// })
// .catch(console.error);

@CampbellDocherty CampbellDocherty added the P1 Priority label Apr 10, 2020
VatsKan added a commit that referenced this issue Apr 10, 2020
Relates #29, #25, #23

Co-authored-by: lizzy-j <[email protected]>
Co-authored-by: Giovanna <[email protected]>
Co-authored-by: Campbell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Priority
Projects
None yet
Development

No branches or pull requests

2 participants