Skip to content

Commit

Permalink
fix arweave resolve (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 authored Oct 3, 2023
1 parent b40971a commit 61d6c0a
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

1 comment on commit 61d6c0a

@vercel
Copy link

@vercel vercel bot commented on 61d6c0a Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

governance-ui – ./

governance-ui-git-main-solana-labs.vercel.app
governance-ui-solana-labs.vercel.app
app.realms.today

Please sign in to comment.