summaryrefslogtreecommitdiffstats
path: root/src/issues.rs
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-08-03 00:44:21 +0200
committerCyborus <cyborus@cyborus.xyz>2024-08-03 00:44:21 +0200
commit67f09d8cdba38329555e4ead6a179536339e1ec2 (patch)
tree98be6e9ee8fc91df2673f2e7ff817b68ad90868c /src/issues.rs
parentMerge pull request '`repo delete`' (#99) from repo-delete into main (diff)
downloadforgejo-cli-67f09d8cdba38329555e4ead6a179536339e1ec2.tar.xz
forgejo-cli-67f09d8cdba38329555e4ead6a179536339e1ec2.zip
chore(dep): update `forgejo-api` to v0.4.0
Diffstat (limited to 'src/issues.rs')
-rw-r--r--src/issues.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/issues.rs b/src/issues.rs
index d428d0e..130a1ef 100644
--- a/src/issues.rs
+++ b/src/issues.rs
@@ -593,7 +593,7 @@ pub async fn edit_comment(
};
let id = comment
.id
- .ok_or_else(|| eyre::eyre!("comment does not have id"))?;
+ .ok_or_else(|| eyre::eyre!("comment does not have id"))? as u64;
api.issue_edit_comment(
repo.owner(),
repo.name(),