Skip to content

Commit 8f7a658

Browse files
author
Michael O'Brien
committed
CLEAN: lint
1 parent 324131e commit 8f7a658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class Schema {
264264
Prepare for persisting the schema. Convert types and regexp to strings.
265265
*/
266266
transformSchemaForWrite(schema) {
267-
for (let [name, model] of Object.entries(schema.models)) {
267+
for (let model of Object.values(schema.models)) {
268268
for (let field of Object.values(model)) {
269269
this.transformFieldForWrite(field)
270270
}

0 commit comments

Comments
 (0)