Skip to content

Commit dceef68

Browse files
committed
Merge branch 'master' into njb/ini-auth-enhancements
2 parents 61fd4c7 + 93e646c commit dceef68

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
2-
node_js: 'node'
2+
node_js: '8'
33
cache: yarn
44
addons:
55
code_climate:

src/service-module/model.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ export default function (options) {
168168
return this._remove(this[idField], params)
169169
}
170170
_remove () {}
171+
172+
toJSON () {
173+
return fastCopy(this)
174+
}
171175
}
172176

173177
Object.assign(FeathersVuexModel, {

0 commit comments

Comments
 (0)