Skip to content

Commit

Permalink
Update src/collections/domain/useCases/GetCollection.ts
Browse files Browse the repository at this point in the history
fix comments in GetCollection.ts

Co-authored-by: German Gonzalo Saracca <[email protected]>
  • Loading branch information
ekraffmiller and g-saracca authored Oct 30, 2024
1 parent a54d04a commit 9f7fae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections/domain/useCases/GetCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class GetCollection implements UseCase<Collection> {
* Returns a Collection instance, given the search parameters to identify it.
*
* @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)
* If this parameter is not set, the default value is: 'root'
* If this parameter is not set, the default value is: ':root'
* @returns {Promise<Collection>}
*/
async execute(collectionIdOrAlias: number | string = ROOT_COLLECTION_ID): Promise<Collection> {
Expand Down

0 comments on commit 9f7fae2

Please sign in to comment.