Skip to content

Commit 57c1c19

Browse files
committed
fix: hireable value of GitHub to Bool instead of string
Signed-off-by: Hemanth Krishna <hkpdev008@gmail.com>
1 parent 093f8d2 commit 57c1c19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gunfollower"
3-
version = "0.1.0"
3+
version = "0.1.2"
44
authors = ["Hemanth Krishna <hkpdev008@gmail.com>"]
55
license = "MIT"
66
description = "Rust CLI to check who unfollows you on GitHub"

src/models/user.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub struct User {
3939
pub blog: String,
4040
pub location: String,
4141
pub email: Option<String>,
42-
pub hireable: Option<String>,
42+
pub hireable: Option<bool>,
4343
pub bio: String,
4444
#[serde(rename = "twitter_username")]
4545
pub twitter_username: String,

0 commit comments

Comments
 (0)