Skip to content

Commit 9f7fae2

Browse files
Update src/collections/domain/useCases/GetCollection.ts
fix comments in GetCollection.ts Co-authored-by: German Gonzalo Saracca <[email protected]>
1 parent a54d04a commit 9f7fae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collections/domain/useCases/GetCollection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class GetCollection implements UseCase<Collection> {
1313
* Returns a Collection instance, given the search parameters to identify it.
1414
*
1515
* @param {number | string} [collectionIdOrAlias = ':root'] - A generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId)
16-
* If this parameter is not set, the default value is: 'root'
16+
* If this parameter is not set, the default value is: ':root'
1717
* @returns {Promise<Collection>}
1818
*/
1919
async execute(collectionIdOrAlias: number | string = ROOT_COLLECTION_ID): Promise<Collection> {

0 commit comments

Comments
 (0)