Skip to content
Browse files

[fix] Wrong API signature for remote methods. All tests should pass now.

  • Loading branch information...
1 parent 1e51cfb commit e664f2ae05544957846ce901a2525dfc16dd0334 @Marak Marak committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/engines/socketio.js
View
2 lib/engines/socketio.js
@@ -60,7 +60,7 @@ engine.request = function(resource, action, payload, callback) {
// Remark: an abritrary remote method, intended to be exposed
//
if(resource[action].remote === true) {
- resource[action](payload, callback);
+ resource[action](payload.id, payload, callback);
} else {
//
// Remark: Determine if it's any child methods

0 comments on commit e664f2a

Please sign in to comment.
Something went wrong with that request. Please try again.