Skip to content

Commit f6a3600

Browse files
committed
[Breaking] Smar Query: result hook parameter is now a full ApolloResult
1 parent 87cf9a3 commit f6a3600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smart-apollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export class SmartQuery extends SmartApollo {
219219
}
220220

221221
if (typeof this.options.result === 'function') {
222-
this.options.result.call(this.vm, data)
222+
this.options.result.call(this.vm, result)
223223
}
224224
}
225225

0 commit comments

Comments
 (0)