Skip to content

Commit aa84d6f

Browse files
authored
Merge pull request #25 from cmu-delphi/ds/covid-hosp-facility-param
Fix covid_hosp_facility arg requirements
2 parents b60bc02 + 5338d7a commit aa84d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/endpoints.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ covid_hosp_facility <-
135135
publication_dates = NULL) {
136136
check_string_param("hospital_pks", hospital_pks)
137137
check_epirange_param("collection_weeks", collection_weeks)
138-
check_epirange_param("publication_dates", publication_dates)
138+
check_epirange_param("publication_dates", publication_dates, required = FALSE)
139139

140140
create_epidata_call(
141141
"covid_hosp_facility/",

0 commit comments

Comments
 (0)