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. 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.