Skip to content

Commit

Permalink
Remove old length check on cloud cover locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Mar 26, 2024
1 parent a679a61 commit 713c0b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/stories/solar-eclipse-2024/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export async function updateSolarEclipse2024Data(userUUID: string, update: Solar
if (update.cloud_cover_selected_locations) {
const selected = data.cloud_cover_selected_locations.concat(update.cloud_cover_selected_locations);
dbUpdate.cloud_cover_selected_locations = selected;
dbUpdate.cloud_cover_selected_locations_count = selected.length;
}
if (update.text_search_selected_locations) {
const selected = data.text_search_selected_locations.concat(update.text_search_selected_locations);
Expand Down

0 comments on commit 713c0b3

Please sign in to comment.