Skip to content

Commit e66ad1f

Browse files
committed
added threshold to the new allocators db file
1 parent 34314e4 commit e66ad1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fplus-database/src/database/allocators.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ pub async fn create_or_update_allocator(
9292
installation_id: Option<i64>,
9393
multisig_address: Option<String>,
9494
verifiers_gh_handles: Option<String>,
95+
multisig_threshold: Option<i32>
9596
) -> Result<AllocatorModel, sea_orm::DbErr> {
9697

9798
let existing_allocator = get_allocator(&owner, &repo).await?;
@@ -113,6 +114,7 @@ pub async fn create_or_update_allocator(
113114
installation_id: Set(installation_id),
114115
multisig_address: Set(multisig_address),
115116
verifiers_gh_handles: Set(verifiers_gh_handles),
117+
multisig_threshold: Set(multisig_threshold),
116118
..Default::default()
117119
};
118120

0 commit comments

Comments
 (0)