Skip to content

Commit c15f043

Browse files
committed
add query to get city to show only available city in Volunteer Form
1 parent 49cd75e commit c15f043

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Redux/action/citiesActions.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { domain } from '../../config'
55

66
export const getCities = async () => {
77
try {
8-
const Cities = await axios.get(`${domain()}/cities`)
8+
const Cities = await axios.get(
9+
`${domain()}/cities?visibleIn=VOLUNTEER_FORM`
10+
)
911
return Cities.data
1012
} catch (err) {
1113
return {

0 commit comments

Comments
 (0)