kodadot/nft-gallery

View on GitHub
services/nftStorage.ts

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

const { expiry, token } = await nftStorageApi<PinningKey>(
`getKey/${address}`,
).catch((error: FetchError) => {
throw new Error(
`[NFT::STORAGE] Unable to GET KEY for reasons ${error.data}`,
Severity: Major
Found in services/nftStorage.ts and 1 other location - About 1 hr to fix
services/replicate.ts on lines 91..97

There are no issues that match your filters.

Category
Status