Skip to content

Commit

Permalink
Add data_owner_address and requested_amount to application json
Browse files Browse the repository at this point in the history
  • Loading branch information
jbesraa committed Oct 4, 2023
1 parent f9aac8b commit 08a5e5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/core/application/core_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pub struct ApplicationCoreInfo {
pub data_owner_name: String,
pub data_owner_region: String,
pub data_owner_industry: String,
pub data_owner_address: String,
pub requested_amount: String,
pub website: String,
pub social_media: String,
}
Expand All @@ -21,12 +23,16 @@ impl ApplicationCoreInfo {
data_owner_name: String,
data_owner_region: String,
data_owner_industry: String,
data_owner_address: String,
requested_amount: String,
website: String,
social_media: String,
) -> Self {
ApplicationCoreInfo {
data_owner_name,
data_owner_region,
data_owner_address,
requested_amount,
data_owner_industry,
website,
social_media,
Expand Down
2 changes: 2 additions & 0 deletions lib/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ impl LDNApplication {
parsed_ldn.name.clone(),
parsed_ldn.region,
"TODO".to_string(), // industry
parsed_ldn.address,
parsed_ldn.datacap_requested,
parsed_ldn.website,
"TODO".to_string(), // social media
);
Expand Down

0 comments on commit 08a5e5e

Please sign in to comment.