|
1 | 1 | use actix_web::{get, post, web, HttpResponse, Responder};
|
2 | 2 | use fplus_lib::core::{
|
3 |
| - application::file::{StorageProviderChangeVerifier, VerifierGrantDataCapCids, VerifierInput}, |
| 3 | + application::file::{StorageProviderChangeVerifier, VerifierInput}, |
4 | 4 | ApplicationQueryParams, BranchDeleteInfo, CompleteGovernanceReviewInfo,
|
5 | 5 | CompleteNewApplicationApprovalInfo, CompleteNewApplicationProposalInfo, CreateApplicationInfo,
|
6 | 6 | DcReachedInfo, GithubQueryParams, LDNApplication, MoreInfoNeeded, NotifyRefillInfo,
|
@@ -116,10 +116,8 @@ pub async fn propose(
|
116 | 116 | github_username: query.github_username.clone(), // Use the provided `github_username` parameter
|
117 | 117 | signing_address: signer.signing_address,
|
118 | 118 | created_at: signer.created_at,
|
119 |
| - message_cids: VerifierGrantDataCapCids { |
120 |
| - message_cid: signer.message_cids.message_cid, |
121 |
| - increase_allowance_cid: signer.message_cids.increase_allowance_cid, |
122 |
| - }, |
| 119 | + message_cid: signer.message_cids.message_cid, |
| 120 | + increase_allowance_cid: signer.message_cids.increase_allowance_cid, |
123 | 121 | };
|
124 | 122 | match ldn_application
|
125 | 123 | .complete_new_application_proposal(
|
@@ -230,10 +228,8 @@ pub async fn approve(
|
230 | 228 | github_username: query.github_username.clone(), // Use the provided `github_username` parameter
|
231 | 229 | signing_address: signer.signing_address,
|
232 | 230 | created_at: signer.created_at,
|
233 |
| - message_cids: VerifierGrantDataCapCids { |
234 |
| - message_cid: signer.message_cids.message_cid, |
235 |
| - increase_allowance_cid: signer.message_cids.increase_allowance_cid, |
236 |
| - }, |
| 231 | + message_cid: signer.message_cids.message_cid, |
| 232 | + increase_allowance_cid: signer.message_cids.increase_allowance_cid, |
237 | 233 | };
|
238 | 234 | match ldn_application
|
239 | 235 | .complete_new_application_approval(
|
|
0 commit comments