Skip to content

Commit 477dd51

Browse files
committedSep 26, 2024·
fix(orm): typo in getCollection method's error message
1 parent 3c86c80 commit 477dd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/teamplay/orm/Signal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default class Signal extends Function {
109109
}
110110

111111
getCollection () {
112-
if (this[SEGMENTS].length === 0) throw Error('Can\'t get the id of the root signal')
112+
if (this[SEGMENTS].length === 0) throw Error('Can\'t get the collection of the root signal')
113113
if (this[SEGMENTS][0] === AGGREGATIONS) {
114114
return getAggregationCollectionName(this[SEGMENTS])
115115
}

0 commit comments

Comments
 (0)
Please sign in to comment.