Skip to content

Commit

Permalink
Fixed successfull
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed Nov 15, 2021
1 parent 3f0c003 commit 5ff1e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bills_service_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type BillsCreatePaymentResponse struct {

// IsSuccessfull determines if the bill payment was successfull
func (response BillsCreatePaymentResponse) IsSuccessfull() bool {
return response.Status == "success" && response.Data.TxRef != ""
return response.Status == "success" && response.Data.FlwRef != ""
}

// BillsValidateResponse is the response after validating a bill service
Expand Down

0 comments on commit 5ff1e95

Please sign in to comment.