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

#167703750 change on authorisation #71

Merged
merged 7 commits into from
Aug 7, 2019

Conversation

Kabalisa
Copy link
Collaborator

@Kabalisa Kabalisa commented Aug 5, 2019

Description

a user should be able to see the ratings, likes, and dislikes on an article even when they are not authenticated.

How has it been tested

  • run npm test

Checklist:

N/A

Pivotal tracker story ID

#167703750

currentComment.dataValues.histories = commentHistories;
return currentComment;
})
);

Choose a reason for hiding this comment

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

Unexpected newline before ')' function-paren-newline

currentComment.dataValues.histories = commentHistories;
return currentComment;
}));
await Promise.all(

Choose a reason for hiding this comment

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

Unexpected newline after '(' function-paren-newline

const numberOfSharesOnPlatform = await ArticleHelper.numberOfSharesOnPlatform(shares);
const numberOfSharesOnPlatform = await ArticleHelper.numberOfSharesOnPlatform(
shares
);

Choose a reason for hiding this comment

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

Unexpected newline before ')' function-paren-newline

@@ -238,7 +238,9 @@ class ArticleController {
.status(200)
.send({ message: 'this article has not been shared yet' });
}
const numberOfSharesOnPlatform = await ArticleHelper.numberOfSharesOnPlatform(shares);
const numberOfSharesOnPlatform = await ArticleHelper.numberOfSharesOnPlatform(

Choose a reason for hiding this comment

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

Unexpected newline after '(' function-paren-newline

-user can get ratings, likes AND dislikes on an article while not authenticated.
[delivers #167703750]
@Kabalisa Kabalisa force-pushed the ch-change-on-authorisation-167703750 branch from 63b2e07 to 698a54a Compare August 5, 2019 14:01
@AJAkimana AJAkimana self-requested a review August 7, 2019 15:28
@ericnyirimana ericnyirimana self-requested a review August 7, 2019 15:29
@ericnyirimana ericnyirimana merged commit c711510 into develop Aug 7, 2019
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.

None yet

4 participants