From 4374c78d3c6ac352b858806dbe5d001bbcd486b8 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 18 Dec 2021 20:10:53 -0500 Subject: [PATCH] modified repo file --- src/repo.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/repo.rs b/src/repo.rs index e81e8ec..a0667b7 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -118,6 +118,8 @@ impl Repository { ); map.insert("name", arg_value); + map.insert("readme", arg_value); + map.insert("description", arg_value); let response = client.post(url.as_str()).json(&map).send(); @@ -152,7 +154,7 @@ impl Repository { .unwrap() .collect(); let url = format!( - r"{request}/repos/{owner}/{repo}?token={api_token}", + "{request}/repos/{owner}/{repo}?token={api_token}", request = request.url.as_ref().unwrap(), owner = request.authentication.credentials.0.as_ref().unwrap(), repo = arg_value[1],