Skip to content

Commit 6d4c298

Browse files
committed
fix: allocator json creation | bump version 1.3.0
1 parent f9c4683 commit 6d4c298

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fplus-database/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fplus-database"
33
authors = ["clriesco", "kokal33", "alexmcon"]
4-
version = "1.0.23"
4+
version = "1.3.0"
55
edition = "2021"
66
description = "FPlus main database module"
77
license = "MIT OR Apache-2.0"

fplus-http-server/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fplus-http-server"
33
authors = ["jbesraa", "kokal33", "clriesco"]
4-
version = "1.0.23"
4+
version = "1.3.0"
55
description = "FPlus main http module"
66
license = "MIT OR Apache-2.0"
77
edition = "2021"
@@ -22,8 +22,8 @@ actix-cors = "0.6.4"
2222
reqwest = { version = "0.11.18", features = ["json"] }
2323
futures = "0.3.28"
2424
dotenv = "0.15.0"
25-
fplus-lib = { path = "../fplus-lib", version = "1.0.23" }
26-
fplus-database = { path = "../fplus-database", version = "1.0.23"}
25+
fplus-lib = { path = "../fplus-lib", version = "1.3.0" }
26+
fplus-database = { path = "../fplus-database", version = "1.3.0"}
2727
anyhow = "1.0.75"
2828
async-trait = "0.1.73"
2929
uuidv4 = "1.0.0"

fplus-lib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fplus-lib"
33
authors = ["jbesraa", "kokal33", "clriesco"]
4-
version = "1.0.23"
4+
version = "1.3.0"
55
edition = "2021"
66
description = "FPlus library/helper files"
77
license = "MIT OR Apache-2.0"
@@ -30,6 +30,6 @@ uuidv4 = "1.0.0"
3030
rayon = "1.8.0"
3131
log = "0.4.20"
3232
once_cell = "1.19.0"
33-
fplus-database = { path = "../fplus-database", version = "1.0.23"}
33+
fplus-database = { path = "../fplus-database", version = "1.3.0"}
3434
pem = "1.0"
3535
anyhow = "1.0"

fplus-lib/src/base64.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pub fn decode_allocator_model(encoded_str: &str) -> Option<AllocatorModel> {
2323

2424
match from_reader(decoder) {
2525
Ok(model) => Some(model),
26-
Err(_) => None,
26+
Err(e) => {
27+
log::error!("Error decoding allocator model: {}", e.to_string());
28+
return None
29+
},
2730
}
2831
}

fplus-lib/src/core/allocator/file.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ pub struct AllocatorModel {
99
#[serde(rename = "address")]
1010
pub multisig_address: String,
1111
pub application: Application,
12-
#[serde(rename = "common_ui_install_id")]
13-
pub installation_id: u64,
1412
#[serde(rename = "multisig_threshold")]
1513
pub multisig_threshold: Option<i32>,
1614
}

0 commit comments

Comments
 (0)