Skip to content

Commit

Permalink
fix: models list type
Browse files Browse the repository at this point in the history
  • Loading branch information
citycide committed Jan 8, 2017
1 parent 2403e27 commit f77aae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -32,7 +32,7 @@ class Trilogy {
}

get models () {
return this.definitions.keys()
return [...this.definitions.keys()]
}

model (name, schema, options) {
Expand Down

0 comments on commit f77aae5

Please sign in to comment.