不要怂,就是干,撸起袖子干!

Commit 648eb770 by Sascha Depold

Pass the transaction to the finder within one-on-one association

1 parent cc9768b1
Showing with 1 additions and 1 deletions
......@@ -103,7 +103,7 @@ module.exports = (function() {
, instanceKey = instanceKeys.length === 1 ? instanceKeys[0] : 'id'
return new Utils.CustomEventEmitter(function(emitter) {
instance[self.accessors.get]().success(function(oldObj) {
instance[self.accessors.get](options).success(function(oldObj) {
if (oldObj) {
oldObj[self.identifier] = null
oldObj
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!