We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97d87ca + 72d378f commit ebe2f51Copy full SHA for ebe2f51
1 file changed
frameworks/node-js.mdx
@@ -144,7 +144,7 @@ const pinata = new PinataSDK({
144
145
async function main() {
146
try {
147
- const file = await pinata.gateways.get("bafkreiac3t35fklpiwqonav2vj4x2dh6x2zugkdu7dsh6zkaq5jr33lcwy")
+ const file = await pinata.gateways.public.get("bafkreiac3t35fklpiwqonav2vj4x2dh6x2zugkdu7dsh6zkaq5jr33lcwy")
148
console.log(file.data)
149
} catch (error) {
150
console.log(error);
0 commit comments