diff --git a/stellar/frontend/src/app/application/create-round/page.tsx b/stellar/frontend/src/app/application/create-round/page.tsx index f6ff091c..949d8906 100644 --- a/stellar/frontend/src/app/application/create-round/page.tsx +++ b/stellar/frontend/src/app/application/create-round/page.tsx @@ -339,7 +339,8 @@ const CreateRoundPage = () => { use_compliance: data.allow_compliance || false, use_referrals: false, referrer_fee_basis_points: 0, - use_whitelist: false, + use_whitelist: checkedListIds.length > 0, + wl_list_id: checkedListIds.length > 0 ? checkedListIds[0] : undefined, voting_end_ms: data.voting_duration_end?.getTime() || 0, voting_start_ms: data.voting_duration_start?.getTime() || 0, num_picks_per_voter: data.vote_per_person, diff --git a/stellar/frontend/src/services/near/type.ts b/stellar/frontend/src/services/near/type.ts index c7b204fd..825391b7 100644 --- a/stellar/frontend/src/services/near/type.ts +++ b/stellar/frontend/src/services/near/type.ts @@ -22,6 +22,7 @@ export type NearCreateRoundParams = { application_requires_video: boolean expected_amount: string use_whitelist: boolean | undefined + wl_list_id: bigint | undefined num_picks_per_voter: number max_participants: number | undefined use_cooldown: boolean