Skip to content

Commit

Permalink
Fail on non ok status codes in dac fulfillemnt post
Browse files Browse the repository at this point in the history
  • Loading branch information
idmitriev committed Sep 14, 2023
1 parent ec4889a commit 1b20e1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dac/pkg/collection_point.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func (d dacCollectionPoint) SaveFulfillment(fulfillment Fulfillment) error {
ctx, cancel := context.WithTimeout(context.Background(), dacTimeout)
defer cancel()

fmt.Sprint(string(json))

req, err := http.NewRequestWithContext(
ctx,
"POST",
Expand Down

0 comments on commit 1b20e1f

Please sign in to comment.