Browse files

return full objects from server instead of only changed props

  • Loading branch information...
1 parent 7de43c2 commit e1624869855f225555ca3c3449e44cedfde307c5 Jonas Huckestein committed Feb 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/server.coffee
View
2 test/server.coffee
@@ -31,7 +31,7 @@ sync = ObjectSync.listen server,
for prop, val of obj when objects[obj.id][prop] isnt val
same = false
objects[obj.id][prop] = val
- callback null, obj, not same
+ callback null, objects[obj.id], not same
else callback
code: 'invalid_id'

0 comments on commit e162486

Please sign in to comment.