Skip to content

Conversation

@Metecode
Copy link
Contributor

No description provided.

@saracalihan saracalihan linked an issue Sep 10, 2021 that may be closed by this pull request
const contentReview = await ReviewService.getReview(id);

const { text, is_spoiler, score } = req.body;
models.content_reviews.update({ text, is_spoiler, score }, {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
models.content_reviews.update({ text, is_spoiler, score }, {
await ReviewService.updateReview({ text, is_spoiler, score }, {

Zaten bu işi yapan bir servisimiz var

Copy link
Member

@saracalihan saracalihan left a comment

Choose a reason for hiding this comment

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

İstenilen değişiklik yanlış sayfada yapılmış.

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.

contentReview service yazılmalı

2 participants