Skip to content

Commit 115ae81

Browse files
committed
docs: fix typos in last update
1 parent 1947c81 commit 115ae81

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/common-patterns.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,21 @@ class SpeedingTicket extends BaseModel {
4646
// Define default properties here
4747
static instanceDefaults() {
4848
return {
49-
email: '',
50-
password: ''
49+
vin: '',
50+
plateState: ''
5151
}
5252
}
5353
}
5454
const servicePath = 'speeding-tickets'
5555
const servicePlugin = makeServicePlugin({
5656
Model: SpeedingTicket,
5757
service: feathersClient.service(servicePath),
58-
servicePath
58+
servicePath,
59+
mutations: {
60+
handleSummaryData (state, summaryData) {
61+
state.mostRecentSummary = summaryData
62+
}
63+
}
5964
})
6065

6166
feathersClient.service(servicePath)

0 commit comments

Comments
 (0)