From 245585a66af6e14b24fa83c7946f2ee0a95582fd Mon Sep 17 00:00:00 2001 From: metasal <54984459+metasal1@users.noreply.github.com> Date: Mon, 2 Dec 2024 08:12:32 +1100 Subject: [PATCH 1/2] Update terms.md --- content/terms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/terms.md b/content/terms.md index 80b5b4d68..7ddb8e0af 100644 --- a/content/terms.md +++ b/content/terms.md @@ -10,7 +10,7 @@ By accessing this website, you are agreeing to be bound by these website Terms a ### Content Copyright Policy -The site design, logo and video content subject to copyright © 2019-present | Fireship LLC +The site design, logo and video content are subject to copyright © 2019-present | Fireship LLC User contributions licensed under CC by-SA 3.0 with attribution required. From 42fb65ad989f271ddac25357378377188d10c46f Mon Sep 17 00:00:00 2001 From: metasal <54984459+metasal1@users.noreply.github.com> Date: Mon, 2 Dec 2024 08:15:21 +1100 Subject: [PATCH 2/2] Update index.md --- content/lessons/secure-firebase-cloud-functions/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/lessons/secure-firebase-cloud-functions/index.md b/content/lessons/secure-firebase-cloud-functions/index.md index b10caf79f..2d85907de 100644 --- a/content/lessons/secure-firebase-cloud-functions/index.md +++ b/content/lessons/secure-firebase-cloud-functions/index.md @@ -116,11 +116,11 @@ exports.secureEndpoint = functions.https.onRequest((req, res) => { cors( req, res, () => { - let requestedUid = req.body.uid // resource the user is requsting to modify + let requestedUid = req.body.uid // resource the user is requesting to modify let authToken = validateHeader(req) // current user encrypted if (!authToken) { - return res.status(403).send('Unuthorized! Missing auth token!') + return res.status(403).send('Unauthorized! Missing auth token!') } return decodeAuthToken(authToken) @@ -209,4 +209,4 @@ Then try the request out via an HTML button: ``` -That's it for secure Firebase Cloud Function endpoints. \ No newline at end of file +That's it for secure Firebase Cloud Function endpoints.