Skip to content

Fariz Rachimawan#16

Open
rachimawan wants to merge 9 commits intopi-46-tropical-fox:masterfrom
rachimawan:master
Open

Fariz Rachimawan#16
rachimawan wants to merge 9 commits intopi-46-tropical-fox:masterfrom
rachimawan:master

Conversation

@rachimawan
Copy link

@rachimawan rachimawan commented Sep 9, 2020

.env:
SECRET=rahasiadong
GOOGLE_CLIENT_ID=807199705023-40ob77cl80k94mmk5ue30jg1tij8tedj.apps.googleusercontent.com
https://kanban-app-ae68f.web.app/#

}
Task.findAll(sort)
.then((data) => {
const newData = data.filter(el => el.User.organization === req.userData.organization)

Choose a reason for hiding this comment

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

mending pake query aja riz, nggausah di filter dari datanya :D
{ where: {UserId: req.userData.organization }

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