From 727a60c9bfbf826c8ae9ebe966e3a5245254ec83 Mon Sep 17 00:00:00 2001 From: JulissaDantes Date: Thu, 14 Mar 2024 09:26:21 -0400 Subject: [PATCH] Update pinning.md --- .../guides/ceramic-clients/javascript-clients/pinning.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/protocol/js-ceramic/guides/ceramic-clients/javascript-clients/pinning.md b/docs/protocol/js-ceramic/guides/ceramic-clients/javascript-clients/pinning.md index 6994aa96..b1fac615 100644 --- a/docs/protocol/js-ceramic/guides/ceramic-clients/javascript-clients/pinning.md +++ b/docs/protocol/js-ceramic/guides/ceramic-clients/javascript-clients/pinning.md @@ -20,7 +20,7 @@ Use the `pin.add()` method to add an existing stream to your permanent pinset. ```javascript const streamId = 'kjzl6cwe1jw14...' -await ceramic.pin.add(streamId) +await ceramic.admin.pin.add(streamId) ``` @@ -30,7 +30,7 @@ Use the `pin.rm()` method to remove a stream from your permanent pinset. ```javascript const streamId = 'kjzl6cwe1jw14...' -await ceramic.pin.rm(streamId) +await ceramic.admin.pin.rm(streamId) ``` @@ -39,6 +39,6 @@ await ceramic.pin.rm(streamId) Use the `pin.ls()` method to list streams currently in your permanent pinset. ```javascript -const streamIds = await ceramic.pin.ls() +const streamIds = await ceramic.admin.pin.ls() ```