From 59d0dd3a84a47f167beab75e67b163fe7ada7ea6 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 5 Nov 2021 20:39:22 +0530 Subject: [PATCH] fix gist link to github --- src/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.rs b/src/data.rs index fda2a7a..736e99b 100644 --- a/src/data.rs +++ b/src/data.rs @@ -195,7 +195,7 @@ impl Data { }); let gist = GistContent { files, - html_url: resp.get("html_url").unwrap().to_string(), + html_url: resp.get("html_url").unwrap().as_str().unwrap().to_owned(), }; self.gists