Skip to content

Commit 8a81147

Browse files
committed
fix: various updates to allow build pass
1 parent 0592049 commit 8a81147

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/api/metadata/proxy/__tests__/endpoint.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @jest-environment node
33
*/
4-
import fetch, { Headers } from 'node-fetch';
54
import _dns from 'dns';
5+
import fetch, { Headers } from 'node-fetch';
66

77
import { GET } from '../route';
88

app/api/metadata/proxy/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fetchResource, StatusError } from './feature';
55
import { errors } from './feature/errors';
66
import { checkURLForPrivateIP, isHTTPProtocol } from './feature/ip';
77

8-
type Params = { params: {} }
8+
type Params = { params: object }
99

1010
const USER_AGENT = process.env.NEXT_PUBLIC_METADATA_USER_AGENT ?? 'Solana Explorer';
1111
const MAX_SIZE = process.env.NEXT_PUBLIC_METADATA_MAX_CONTENT_SIZE

0 commit comments

Comments
 (0)