Skip to content

Commit

Permalink
[fix] Wrong API signature for remote methods. All tests should pass now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Aug 28, 2012
1 parent 1e51cfb commit e664f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engines/socketio.js
Expand Up @@ -60,7 +60,7 @@ engine.request = function(resource, action, payload, callback) {
// Remark: an abritrary remote method, intended to be exposed // Remark: an abritrary remote method, intended to be exposed
// //
if(resource[action].remote === true) { if(resource[action].remote === true) {
resource[action](payload, callback); resource[action](payload.id, payload, callback);
} else { } else {
// //
// Remark: Determine if it's any child methods // Remark: Determine if it's any child methods
Expand Down

0 comments on commit e664f2a

Please sign in to comment.