Skip to content

Commit 26c0510

Browse files
Vikram KaltaVikram Kalta
authored andcommitted
fix: minor fix on docstrings
1 parent 88f0be6 commit 26c0510

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/lib/entry.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,7 @@ export class Entry {
203203
* import contentstack from '@contentstack/delivery-sdk'
204204
*
205205
* const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
206-
* const query = stack.contentType("contentTypeUid").entry().query();
207-
* const result = await query.addParams({"key": "value"}).find()
208-
* // OR
209-
* const asset = await stack.asset().addParams({"key": "value"}).find()
206+
* const result = stack.contentType("contentTypeUid").entry().addParams({"key": "value"}).fetch()
210207
*
211208
* @returns {Entry}
212209
*/

0 commit comments

Comments
 (0)