Skip to content

Commit 272c43e

Browse files
authored
Update quickstart.md (#1828)
1 parent c305ff1 commit 272c43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/reference/ipfs/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ files = {
102102
response1 = requests.post(endpoint + "/api/v0/add", files=files, auth=(projectId, projectSecret))
103103
print(response1)
104104
hash = response1.text.split(",")[1].split(":")[1].replace('"','')
105-
print(hash
105+
print(hash)
106106

107107
### READ FILE WITH HASH ###
108108
params = {
@@ -141,7 +141,7 @@ import { create } from "kubo-rpc-client"
141141

142142
const projectId = "<YOUR-API-KEY>";
143143
const projectSecret = "<YOUR-API-KEY-SECRET>";
144-
const auth
144+
const auth =
145145
"Basic " + Buffer.from(projectId + ":" + projectSecret).toString("base64");
146146

147147
const client = create({

0 commit comments

Comments
 (0)