-
-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Milestone
Description
Considering the following service:
var Service = {
find : function (params, callback) {
// ...
console.log(params);
}
};
When called via the REST API the console output is:
GET /users
{ query : {} }
But if you call the same method through a socket connection:
primus.send('users::find', {}, function () {})
{}
In my opinion it should either be {} or { query : {} } in both cases to be consistent, while I think {} would make the most sense.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels