(&self)
| 122 | } |
| 123 | |
| 124 | fn post_graphql(&self) -> ureq::Request { |
| 125 | self.agent |
| 126 | // WARN if this path ends with a / it will break |
| 127 | .post("https://api.github.com/graphql") |
| 128 | .set("Authorization", &format!("bearer {}", self.token)) |
| 129 | } |
| 130 | |
| 131 | /// Gets the list of all commits between two git ref |
| 132 | pub fn compare_commits( |