Skip to content

Commit

Permalink
always refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Dec 19, 2024
1 parent ae8cb2a commit e2168bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@ const api = {
data: {
query,
client_query_id: queryId,
refresh: 'force_blocking',
refresh,
filters_override: filtersOverride,
variables_override: variablesOverride,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,8 @@ export const errorTrackingDataNodeLogic = kea<errorTrackingDataNodeLogicType>([
mergedIssue.id === issue.id ? mergedIssue : issue
),
})
try {
await api.errorTracking.mergeInto(primaryIssue.id, mergingIds)
} catch (e) {
// TODO: ideally we should always call this after merging but right now we're
// getting cached results back. Need to figure out how to bust the cache
actions.loadData(true)
}
await api.errorTracking.mergeInto(primaryIssue.id, mergingIds)
actions.loadData(true)
}
},
assignIssue: async ({ id, assigneeId }) => {
Expand Down

0 comments on commit e2168bf

Please sign in to comment.