From e9b665f15d7440c81202ca7d31ecd528bbc30875 Mon Sep 17 00:00:00 2001 From: Mentor Palokaj Date: Fri, 5 Nov 2021 13:28:40 +0100 Subject: [PATCH] Final typo --- functions/integrations/avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/integrations/avatar.js b/functions/integrations/avatar.js index 342a04e..15a4247 100644 --- a/functions/integrations/avatar.js +++ b/functions/integrations/avatar.js @@ -29,7 +29,7 @@ module.exports = async function( req, res ) { if( validatorProfile.owner && validatorProfile.owner !== signatory ) throw new Error( `Validator already claimed by another wallet. If this is in error, contact mentor.eth on Discord.\n\nThe reason someone else can claim your validator is that we don't want to you to have to expose your validator private key to the world for security reasons <3` ) // Write new data to db - await db.collection( `${ chain === '0x1' ? 'mainnet' : 'rinkeby' }Validators` ).doc( validator ).set( { + await db.collection( `${ network }Validators` ).doc( validator ).set( { tokenId, owner: signatory, src: `https://storage.googleapis.com/rocketeer-nft.appspot.com/${ network }Rocketeers/${ tokenId }.jpg`,