Skip to content

Commit f6f34dc

Browse files
committed
fix: add rand dependency and fix topic_id type
1 parent d6d68b7 commit f6f34dc

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ log = "0.4"
3131
env_logger = "0.11"
3232
rpassword = "7"
3333
base64 = "0.22"
34+
rand = "0.9.2"
3435

3536
[profile.release]
3637
opt-level = 3

src/app/send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl App {
122122
media_type: None,
123123
media_path: None,
124124
reply_to_id: None,
125-
topic_id: Some(topic_id as i64),
125+
topic_id: Some(topic_id as i32),
126126
})
127127
.await?;
128128

0 commit comments

Comments
 (0)