Skip to content

Commit

Permalink
Resolve draft trade issue where only one side's options would be proc…
Browse files Browse the repository at this point in the history
…essed
  • Loading branch information
CalebRose committed Feb 25, 2024
1 parent b9c9645 commit 2401288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions managers/TradeManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ func SyncAcceptedTrade(proposalID string) {
func SyncTradeFromDraftPage(proposal structs.NFLTradeProposal) bool {
db := dbprovider.GetInstance().GetDB()
syncAcceptedOptions(db, proposal.NFLTeamTradeOptions, proposal.NFLTeamID, proposal.NFLTeam, proposal.RecepientTeamID, proposal.RecepientTeam)
syncAcceptedOptions(db, proposal.RecepientTeamTradeOptions, proposal.RecepientTeamID, proposal.RecepientTeam, proposal.NFLTeamID, proposal.NFLTeam)
return false
}

Expand Down

0 comments on commit 2401288

Please sign in to comment.