Skip to content

Commit

Permalink
Merge pull request #90 from joshbeard/api-spec-error
Browse files Browse the repository at this point in the history
fix: api spec response error
  • Loading branch information
joshbeard committed Dec 4, 2023
2 parents cd77bda + b0a4394 commit c0ac5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme/api_specification_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func (r *apiSpecificationResource) save(
}

return apiSpecificationResourceModel{},
fmt.Errorf("unable to save: (%d) %+v", status, apiResponse.APIErrorResponse)
fmt.Errorf("unable to save: (%d) %w", status, err)
}

if response.ID == "" {
Expand Down

0 comments on commit c0ac5ca

Please sign in to comment.