Skip to content

Commit

Permalink
Merge pull request #184 from adamdecaf/remove-other-participants
Browse files Browse the repository at this point in the history
fix: remove achParticipants or wireParticipants from json responses
  • Loading branch information
adamdecaf authored Aug 2, 2022
2 parents 66ddca2 + 194a137 commit ce4ba05
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 145 deletions.
4 changes: 2 additions & 2 deletions cmd/server/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ type searcher struct {

// searchResponse defines a FEDACH search response
type searchResponse struct {
ACHParticipants []*fed.ACHParticipant `json:"achParticipants"`
WIREParticipants []*fed.WIREParticipant `json:"wireParticipants"`
ACHParticipants []*fed.ACHParticipant `json:"achParticipants,omitempty"`
WIREParticipants []*fed.WIREParticipant `json:"wireParticipants,omitempty"`
}

// ACHFindNameOnly finds ACH Participants by name only
Expand Down
Loading

0 comments on commit ce4ba05

Please sign in to comment.