Skip to content

Commit

Permalink
fix: url
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Oct 15, 2024
1 parent 2d3bf9b commit 03d3eed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@
},
methods: {
getUnassigned() {
url = '{% url "api-manager-tickets-unassigned-count" structure_slug=structure.slug %}'
url = '{% url "api_rest:api-manager-tickets-unassigned-count" structure_slug=structure.slug %}'
axios
.get(url)
.then(response => (
this.unassigned = response.data.count
))
},
getOpen() {
url = '{% url "api-manager-tickets-open-count" structure_slug=structure.slug %}'
url = '{% url "api_rest:api-manager-tickets-open-count" structure_slug=structure.slug %}'
axios
.get(url)
.then(response => (
this.open = response.data.count
))
},
getMyOpen() {
url = '{% url "api-manager-tickets-my-open-count" structure_slug=structure.slug %}'
url = '{% url "api_rest:api-manager-tickets-my-open-count" structure_slug=structure.slug %}'
axios
.get(url)
.then(response => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
methods: {
getCounters() {
api_url = '{% url "api-manager-tickets-count" structure_slug=structure.slug %}'
api_url = '{% url "api_rest:api-manager-tickets-count" structure_slug=structure.slug %}'
axios
.get(api_url)
.then(response => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
},
methods: {
getCounters() {
api_url = '{% url "api-operator-tickets-count" structure_slug=structure.slug %}'
api_url = '{% url "api_rest:api-operator-tickets-count" structure_slug=structure.slug %}'
axios
.get(api_url)
.then(response => {
Expand Down

0 comments on commit 03d3eed

Please sign in to comment.