Skip to content

Commit

Permalink
chore: remove the feature toggled buildUrl from the embedded version …
Browse files Browse the repository at this point in the history
…decorator
  • Loading branch information
bethesque committed Oct 5, 2023
1 parent a5ff728 commit 21ce787
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lib/pact_broker/api/decorators/embedded_version_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ class EmbeddedVersionDecorator < BaseDecorator
camelize_property_names

property :number
if PactBroker.feature_enabled?(:branches)
property :build_url
end

link :self do | options |
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
},
"version": {
"number": "1",
"buildUrl": "http://ci/builds/1234",
"_links": {
"self": {
"title": "Version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
},
"version": {
"number": "1",
"buildUrl": "http://ci/builds/1234",
"_links": {
"self": {
"title": "Version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
},
"version": {
"number": "1",
"buildUrl": "http://ci/builds/1234",
"_links": {
"self": {
"title": "Version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
},
"version": {
"number": "1",
"buildUrl": "http://ci/builds/1234",
"_links": {
"self": {
"title": "Version",
Expand Down

0 comments on commit 21ce787

Please sign in to comment.