feat(github): add support for github enterprise (#1841)
This commit is contained in:
parent
12a47fe72e
commit
58d72c4f19
2 changed files with 8 additions and 2 deletions
include/modules
|
@ -18,12 +18,13 @@ namespace modules {
|
|||
bool build(builder* builder, const string& tag) const;
|
||||
|
||||
private:
|
||||
void update_label(const int);
|
||||
void update_label(int);
|
||||
int get_number_of_notification();
|
||||
string request();
|
||||
static constexpr auto TAG_LABEL = "<label>";
|
||||
|
||||
label_t m_label{};
|
||||
string m_api_url;
|
||||
string m_accesstoken{};
|
||||
unique_ptr<http_downloader> m_http{};
|
||||
bool m_empty_notifications{false};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue