Skip to content

Commit ed44d5d

Browse files
authored
Merge pull request #15 from tendermint/cyrus/deprecate-dex-count
Deprecate /dex-registration
2 parents 04e1010 + 2000e5d commit ed44d5d

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ npm run start
7676

7777
**200**: Returns a list of Explorers wallets
7878

79-
### GET `/dex-registration`
80-
81-
**200**: Returns the total registration count for the Gravity DEX website
82-
8379
---
8480

8581
### Algolia bump

src/index.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,6 @@ app.get("/explorers", async (req, res) => {
201201
});
202202
});
203203

204-
app.get("/dex-registration", async (req, res) => {
205-
const airtable = new Airtable({ apiKey: AIRTABLE_API_KEY })
206-
.base("appcWbcj9n9NKHQu4")
207-
.table("registrants");
208-
209-
airtable
210-
.list({
211-
maxRecords: 50000,
212-
})
213-
.then((response) => {
214-
res.json({ registration_count: response.records.length });
215-
});
216-
});
217-
218204
const listener = app.listen(port, function () {
219205
console.log("Your app is listening on port " + listener.address().port);
220206
});

0 commit comments

Comments
 (0)