From 8c5a91a7a3c946ce5314816ca050043c5a603f94 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 27 May 2024 11:28:51 +0200 Subject: feat: add PR link to response (#2) This also displays the response as an embed. Signed-off-by: Sefa Eyeoglu Co-authored-by: seth --- src/http/github.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/http/github.rs') diff --git a/src/http/github.rs b/src/http/github.rs index bdb363e..8d4f18a 100644 --- a/src/http/github.rs +++ b/src/http/github.rs @@ -2,7 +2,8 @@ use super::{Error, HttpClientExt}; use serde::Deserialize; -const GITHUB_API: &str = "https://api.github.com"; +pub const GITHUB_URL: &str = "https://github.com"; +pub const GITHUB_API: &str = "https://api.github.com"; /// Bad version of `/repos/{owner}/{repo}/{compare}/{ref}...{ref}` #[derive(Deserialize)] -- cgit v1.2.3