Skip to content

Commit fbd2bca

Browse files
committed
fix(model): fix typo in for error message
1 parent 89e5c4a commit fbd2bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default class Model extends StaticModel {
112112
}
113113

114114
if (!this.isValidId(object.getPrimaryKey())) {
115-
throw new Error('The object referenced on for() method has a invalid id.')
115+
throw new Error('The object referenced on for() method has an invalid id.')
116116
}
117117

118118
url += `/${object.resource()}/${object.getPrimaryKey()}`

0 commit comments

Comments
 (0)