Skip to content

Commit

Permalink
Merge pull request #113 from Carifio24/remove-cc-length-check
Browse files Browse the repository at this point in the history
Remove length check on cloud cover locations
  • Loading branch information
Carifio24 authored Mar 26, 2024
2 parents a679a61 + 713c0b3 commit 93880c4
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 93880c4

Please sign in to comment.