Skip to content

Commit

Permalink
Merge pull request #1433 from ProcessMaker/bugfix/FOUR-10110
Browse files Browse the repository at this point in the history
Add retry to get task endpoint
  • Loading branch information
ryancooley authored Sep 7, 2023
2 parents b2aa256 + f1a96d7 commit 3e2fe6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ export default {
if (!requestId) {
requestId = this.requestId;
}
const url = `?user_id=${this.userId}&status=ACTIVE&process_request_id=${requestId}&include_sub_tasks=1`;
const timestamp = !window.Cypress ? `&t=${Date.now()}` : "";
const url = `?user_id=${this.userId}&status=ACTIVE&process_request_id=${requestId}&include_sub_tasks=1${timestamp}`;
return this.$dataProvider
.getTasks(url).then((response) => {
if (response.data.data.length > 0) {
Expand Down

0 comments on commit 3e2fe6d

Please sign in to comment.