From b736fac30189f598c778d7c4478b67d782487aed Mon Sep 17 00:00:00 2001 From: Noer Date: Thu, 23 Apr 2020 14:51:57 +0200 Subject: [PATCH] Update MAKEME.md --- week3/MAKEME.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/week3/MAKEME.md b/week3/MAKEME.md index c4b6dbf0d..273934a1d 100644 --- a/week3/MAKEME.md +++ b/week3/MAKEME.md @@ -120,7 +120,7 @@ This week we'll add our external API that we're going to work with: [Open Weathe 2. Inside of the the `POST` route, bring in `axios` and pass the value of the API endpoint: `https://api.openweathermap.org/data/2.5/weather`. For it to work we first have to add the API Key, like so: ```js -const APIKEY = require('./sources/secrets.json').API_KEY; +const API_KEY = require('./sources/keys.json').API_KEY; axios(`https://api.openweathermap.org/data/2.5/weather?APPID=${API_KEY}`); ```