pub fn write_draft_body(
token: &str,
repo: &Repo,
tag: &str,
id: u64,
body: &str,
) -> Result<()>Expand description
Write body as the notes of draft id of tag, preserving tag_name
while leaving draft unset so the draft keeps both its state and its tag.
ยงErrors
Returns an error when the GitHub client cannot be built or the update fails.