Skip to content

Commit

Permalink
Merge pull request #74 from ceramicnetwork/jd/pin-doc-patch
Browse files Browse the repository at this point in the history
Update pinning.md
  • Loading branch information
JulissaDantes authored Mar 22, 2024
2 parents 5b36751 + 727a60c commit b93b37c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```


Expand All @@ -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)
```


Expand All @@ -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()
```

0 comments on commit b93b37c

Please sign in to comment.