Skip to content

Commit

Permalink
Check userId is set (fix task test)
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Jul 8, 2024
1 parent a5c7da1 commit 73cfeb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ export default {
if (!requestId) {
requestId = this.requestId;
}
if (!this.userId) {
return;
}
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
Expand Down

0 comments on commit 73cfeb7

Please sign in to comment.