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

[FTWDAMS032021] Igor Godinho Figueiredo #1601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Igor-GF
Copy link

@Igor-GF Igor-GF commented Apr 24, 2021

I could not solve the update task, it was take me so long that I had to move on.

Copy link

@reMRKableDev reMRKableDev left a comment

Choose a reason for hiding this comment

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

Nice work @Igor-GF 🚀

I left some comments for you to check out

@@ -0,0 +1,41 @@
const mongoose = require('mongoose');
const Celebrity = require("../models/celebrity")

Choose a reason for hiding this comment

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

This import is incomplete... it will crash your app.

Suggested change
const Celebrity = require("../models/celebrity")
const Celebrity = require("../models/celebrity.model")

})
.then( ( movieEdited ) => {
console.log(`//////////${movieEdited.id}`);
// res.status(200).render('movies/show');

Choose a reason for hiding this comment

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

You don't need this line anymore if it is commented out. You can remove it

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