Skip to content

Commit 720432b

Browse files
committed
fix endpoints
1 parent 63f534e commit 720432b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/DropKit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default class DropKit {
1111
apiKey: string
1212
dev?: boolean
1313
address: string
14-
networkName: string
1514
contract: ethers.Contract | null
1615

1716
constructor(key: string, isDev?: boolean) {
@@ -22,7 +21,6 @@ export default class DropKit {
2221
this.apiKey = key
2322
this.dev = isDev
2423
this.address = ''
25-
this.networkName = ''
2624
this.contract = null
2725
}
2826

@@ -40,7 +38,6 @@ export default class DropKit {
4038

4139
if (data) {
4240
this.address = data.address
43-
this.networkName = data.networkName
4441

4542
// const ethereum = (window as any).ethereum!
4643
const ethereum = (await detectEthereumProvider()) as any

src/config/endpoint.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const ADDRESS_CHECK_ENDPOINT_DEV =
2-
'https://niftykit-dev.herokuapp.com/api/drops'
2+
'https://niftykit-dev.herokuapp.com/api/drops/address'
33

4-
export const ADDRESS_CHECK_ENDPOINT = 'https://app.niftykit.com/api/drops'
4+
export const ADDRESS_CHECK_ENDPOINT =
5+
'https://app.niftykit.com/api/drops/address'

0 commit comments

Comments
 (0)