Skip to content

Commit

Permalink
remove condition for deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
charymalloju committed Nov 12, 2024
1 parent 4e98fc0 commit 2e5efbb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/handler/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,6 @@ func (h *Handler) DeleteTransaction(c echo.Context) error {
Message: "transaction not found",
})
}
return c.JSON(http.StatusInternalServerError, model.ErrorResponse{
Status: "error",
Message: "failed to fetch transaction details",
Log: err.Error(),
})
}

// Delete the transaction
Expand Down

0 comments on commit 2e5efbb

Please sign in to comment.