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

Remove sync methods #4512

Merged
merged 3 commits into from
Oct 1, 2016
Merged

Remove sync methods #4512

merged 3 commits into from
Oct 1, 2016

Conversation

rodrigok
Copy link
Member

@rodrigok rodrigok commented Oct 1, 2016

@RocketChat/core

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-4512 October 1, 2016 14:10 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-4512 October 1, 2016 14:12 Inactive
this.unblock();

return RocketChat.models.Permissions.find().fetch();
},
const records = RocketChat.models.Permissions.find().fetch();
Copy link
Member

Choose a reason for hiding this comment

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

Does this needs to be executed when updatedAt is passed?

@@ -30,18 +30,12 @@ Meteor.methods
options =
fields: fields

return RocketChat.models.Subscriptions.findByUserId(Meteor.userId(), options).fetch()
records = RocketChat.models.Subscriptions.findByUserId(Meteor.userId(), options).fetch()
Copy link
Member

Choose a reason for hiding this comment

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

Same here, does this need to run always? Even when updatedAt is passed?

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-4512 October 1, 2016 15:08 Inactive
@rodrigok rodrigok merged commit d83acbc into develop Oct 1, 2016
@rodrigok rodrigok deleted the improvements/remove-sync-methods branch October 1, 2016 15:23
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