Skip to content

Commit

Permalink
fix(Rest): Adding vcs field in component update api
Browse files Browse the repository at this point in the history
  • Loading branch information
FarooqAftab committed Mar 27, 2024
1 parent 5e49b79 commit fa1e318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/datahandler/src/main/thrift/components.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ struct ComponentDTO {
51: optional string mailinglist,
52: optional string wiki,
53: optional string blog,
56: optional string vcs,
}

struct ReleaseLink{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ public Component convertToComponent(ComponentDTO componentDTO) {
component.setMailinglist(componentDTO.getMailinglist());
component.setWiki(componentDTO.getWiki());
component.setBlog(componentDTO.getBlog());
component.setVcs(componentDTO.getVcs());

return component;
}
Expand Down

0 comments on commit fa1e318

Please sign in to comment.