Skip to content

Commit

Permalink
part-2.md fix copypasta error
Browse files Browse the repository at this point in the history
Fixed the event model defaultColumns using the User's fields instead of the Event's fields
  • Loading branch information
Eyecone authored Jan 11, 2019
1 parent 359b451 commit 270114f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Getting Started/Setting-Up/part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Event.schema.pre('save', function (next) {
return next();
});

Event.defaultColumns = 'displayName, email';
Event.defaultColumns = 'name, description';
Event.register();
```

Expand Down

0 comments on commit 270114f

Please sign in to comment.