server.js
// Create unique entry for weather data request
Create unique entry for weather data request
Create unique entry for weather data request
function createEntry(weatherData, feelings) {
    if (!weatherData) {
        return;
    }
    const entry = {...weatherData, feelings};
    if (!containsObj(projectData.recentEntries, entry)) {
        projectData.recentEntries.push(entry);
    }
}
function createEntry ( weatherData , feelings ) { if ( ! weatherData ) { return ; } const entry = { ... weatherData , feelings } ; if ( ! containsObj ( projectData . recentEntries , entry ) ) { projectData . recentEntries . push ( entry ) ; } }
Create unique entry for weather data request
Create unique entry for weather data request