Skip to content

Conversation

HeleneWestrin
Copy link

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Your deploy says it can't connect to database :/

@HeleneWestrin
Copy link
Author

HeleneWestrin commented Dec 18, 2024 via email

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Structured, clean, impressive and solid work ⭐

PS. Sorry about my previous comment, I did refresh but not enough times obviously 😅


export const getItems = async (req, res) => {
try {
const items = await Item.find().populate("owner");
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for this tip ⭐

@@ -0,0 +1,55 @@
// Import necessary functions from express-validator
import { body, validationResult } from "express-validator";
Copy link
Contributor

Choose a reason for hiding this comment

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

And this 😊

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.

2 participants