From 45b1761d3a0da8f129fa80a315f9b07cce22347a Mon Sep 17 00:00:00 2001 From: Mentor Palokaj Date: Sat, 30 Oct 2021 17:12:36 +0200 Subject: [PATCH] collection endpoint --- functions/modules/mainnet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/modules/mainnet.js b/functions/modules/mainnet.js index 5ade367..6dccf80 100644 --- a/functions/modules/mainnet.js +++ b/functions/modules/mainnet.js @@ -36,7 +36,7 @@ app.get( '/api/rocketeer/:id', async ( req, res ) => { // /////////////////////////////// // Static collection data // /////////////////////////////// -app.get( '/api/collection', async ( req, res ) => res.json( { +app.get( '/api/rocketeer', async ( req, res ) => res.json( { totalSupply: await getTotalSupply( 'mainnet' ).catch( f => 'error' ), description: '"Moon boots touch the earth. Visored faces tilt upward. Their sole thought is wen." ~ Rocketeer Haiku\n\nThe Rocketeer NFT collection is inspired by the undying patience and excited optimism of the Rocket Pool and ETH2 staking communites.\n\nJoin us at https://rocketeer.fans/', external_url: web2domain,