Skip to content

Commit

Permalink
fetchRegulations fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee0z committed Mar 24, 2024
1 parent f9fe3d6 commit e3948ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/City/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function toggleRegulations() {
}
function fetchRegulations() {
axios.get('/api/rules/${props.city.country.name}/${props.city.name}')
axios.get(`/api/rules/${props.city.country.name}/${props.city.name}`)
.then(response => {
rules.pl= response.data.rulesPL
rules.en = response.data.rulesEN
Expand Down

0 comments on commit e3948ee

Please sign in to comment.