Skip to content

Conversation

@MarcosSpessatto
Copy link
Contributor

No description provided.

Copy link

@renatobecker-zz renatobecker-zz left a comment

Choose a reason for hiding this comment

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

What about implementing these methods inside the related Raw Models?

const match = { $match: { roles: { $in: ['livechat-agent'] } } };
const lookup = {
$lookup: {
from: 'rocketchat_livechat_sessions',

Choose a reason for hiding this comment

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

Suggested change
from: 'rocketchat_livechat_sessions',
from: 'rocketchat_livechat_agent_activity',

@renatobecker-zz renatobecker-zz merged commit 485210f into develop Nov 11, 2019
@sampaiodiego sampaiodiego mentioned this pull request Nov 28, 2019
@sampaiodiego sampaiodiego deleted the analytics-livechat branch December 4, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants