Skip to content

Commit

Permalink
return same as old code
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyballentine committed Jun 30, 2024
1 parent b48320a commit d617791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/Backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class Backend {
return error.response.data as T;
}
if (axios.isCancel(error)) {
return {} as T;
return { type: 'success' } as T;
}
}
if (ServerError.isJson(error)) {
Expand Down

0 comments on commit d617791

Please sign in to comment.