Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed Oct 3, 2023
1 parent 0ac976b commit 1ca27e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/arweave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function fetchArweaveFile(url: string) {
const apiResponse = await axios.get(apiUrl, {
signal: controller.signal,
})
if (apiResponse.status === 200) {
if (apiResponse?.data?.description) {
return apiResponse.data.description
} else {
console.warn('could not arweave file', {
Expand Down

0 comments on commit 1ca27e3

Please sign in to comment.