Skip to content

Commit

Permalink
fix: allocator json creation | bump version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMCon committed Mar 13, 2024
1 parent f9c4683 commit 6d4c298
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fplus-database/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fplus-database"
authors = ["clriesco", "kokal33", "alexmcon"]
version = "1.0.23"
version = "1.3.0"
edition = "2021"
description = "FPlus main database module"
license = "MIT OR Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions fplus-http-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fplus-http-server"
authors = ["jbesraa", "kokal33", "clriesco"]
version = "1.0.23"
version = "1.3.0"
description = "FPlus main http module"
license = "MIT OR Apache-2.0"
edition = "2021"
Expand All @@ -22,8 +22,8 @@ actix-cors = "0.6.4"
reqwest = { version = "0.11.18", features = ["json"] }
futures = "0.3.28"
dotenv = "0.15.0"
fplus-lib = { path = "../fplus-lib", version = "1.0.23" }
fplus-database = { path = "../fplus-database", version = "1.0.23"}
fplus-lib = { path = "../fplus-lib", version = "1.3.0" }
fplus-database = { path = "../fplus-database", version = "1.3.0"}
anyhow = "1.0.75"
async-trait = "0.1.73"
uuidv4 = "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions fplus-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fplus-lib"
authors = ["jbesraa", "kokal33", "clriesco"]
version = "1.0.23"
version = "1.3.0"
edition = "2021"
description = "FPlus library/helper files"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -30,6 +30,6 @@ uuidv4 = "1.0.0"
rayon = "1.8.0"
log = "0.4.20"
once_cell = "1.19.0"
fplus-database = { path = "../fplus-database", version = "1.0.23"}
fplus-database = { path = "../fplus-database", version = "1.3.0"}
pem = "1.0"
anyhow = "1.0"
5 changes: 4 additions & 1 deletion fplus-lib/src/base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pub fn decode_allocator_model(encoded_str: &str) -> Option<AllocatorModel> {

match from_reader(decoder) {
Ok(model) => Some(model),
Err(_) => None,
Err(e) => {
log::error!("Error decoding allocator model: {}", e.to_string());
return None
},
}
}
2 changes: 0 additions & 2 deletions fplus-lib/src/core/allocator/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ pub struct AllocatorModel {
#[serde(rename = "address")]
pub multisig_address: String,
pub application: Application,
#[serde(rename = "common_ui_install_id")]
pub installation_id: u64,
#[serde(rename = "multisig_threshold")]
pub multisig_threshold: Option<i32>,
}
Expand Down

0 comments on commit 6d4c298

Please sign in to comment.