From a1a21276a6a94931cf4f8f8a86c8ceb8d18a7dce Mon Sep 17 00:00:00 2001 From: Heath Manning Date: Thu, 14 Mar 2024 02:01:27 +1100 Subject: [PATCH] Tweak api key exposure function. --- functions/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/index.ts b/functions/src/index.ts index dc27c3f..d39a9d7 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -12,7 +12,7 @@ initializeApp(); export const helloWorld = https.onRequest((request, response) => { // logger.info("Hello logs!", { structuredData: true }); - response.send("Hello from Firebase!" + " " + CF_TURNSTILE_KEY); + response.send("Hello from Firebase!" + " " + CF_TURNSTILE_KEY.value()); }); // extreme cases where we need to shut off the button but still show a count