mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 05:19:37 +02:00
remove API KEYS
This commit is contained in:
parent
b234bc16ff
commit
6a054c76cd
9 changed files with 19 additions and 25 deletions
|
@ -3,7 +3,7 @@ const axios = require('axios');
|
|||
const loadConfig = require('./loadConfig');
|
||||
|
||||
const getExternalWeather = async () => {
|
||||
const { WEATHER_API_KEY: secret, lat, long } = await loadConfig();
|
||||
const { lat, long } = await loadConfig();
|
||||
|
||||
// Fetch data from external API
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue