Skip to content

Commit

Permalink
Update src/horizon/server.ts
Browse files Browse the repository at this point in the history
Co-authored-by: George <[email protected]>
  • Loading branch information
aditya1702 and Shaptic committed Jun 17, 2024
1 parent 2e38516 commit c893c1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/horizon/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,8 @@ export class Server {
.segment("transactions_async")
.toString(),
`tx=${tx}`,
).then((response) => {
return response.data
}).catch((response) => {
).then((response) => response.data
).catch((response) => {
if (response instanceof Error) {
return Promise.reject(response);
}
Expand Down

0 comments on commit c893c1e

Please sign in to comment.