Skip to content

Commit 2054d2f

Browse files
committed
Fix tag name
1 parent 90dfe43 commit 2054d2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/lib/graphql.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const getAllRefs = async (arweave, remoteURI) => {
9696

9797
for (const edge of edges) {
9898
for (const tag of edge.node.tags) {
99-
if (tag.name === "ref") {
99+
if (tag.name === "Ref") {
100100
refs.add(tag.value);
101101
break
102102
}
@@ -185,7 +185,7 @@ export const fetchGitObjects = async (arweave, arData, remoteURI) => {
185185
const data = await arData.decodeData(item, { string: false });
186186
for (let i = 0; i < item.tags.length; i++) {
187187
const tag = await arData.decodeTag(item.tags[i]);
188-
if (tag.name === "oid") {
188+
if (tag.name === "Oid") {
189189
const oid = tag.value;
190190
objects.push({ oid, data });
191191
break;

0 commit comments

Comments
 (0)