Skip to content

Commit 905ff10

Browse files
committed
Fix #20
1 parent b881647 commit 905ff10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-apollo",
3-
"version": "1.2.2",
3+
"version": "1.2.3",
44
"description": "Vue apollo integration",
55
"main": "index.js",
66
"scripts": {

src/smart-apollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class SmartApollo {
109109
}
110110

111111
if (typeof this.options.error === 'function') {
112-
this.options.error(error)
112+
this.options.error.call(this.vm, error)
113113
}
114114
}
115115
}

0 commit comments

Comments
 (0)