aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci-github-service-data.cxx')
-rw-r--r--mod/mod-ci-github-service-data.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx
index 0f6e593..c5bf6a4 100644
--- a/mod/mod-ci-github-service-data.cxx
+++ b/mod/mod-ci-github-service-data.cxx
@@ -94,14 +94,18 @@ namespace brep
p.next_expect (event::end_object);
}
+ // check_suite constructor.
+ //
service_data::
service_data (bool ws,
string iat_tok,
timestamp iat_ea,
uint64_t iid,
string rid,
- string rs)
- : warning_success (ws),
+ string rs,
+ bool rr)
+ : kind (local), pre_check (false), re_request (rr),
+ warning_success (ws),
installation_access (move (iat_tok), iat_ea),
installation_id (iid),
repository_node_id (move (rid)),
@@ -109,6 +113,8 @@ namespace brep
{
}
+ // pull_request constructor.
+ //
service_data::
service_data (bool ws,
string iat_tok,
@@ -118,7 +124,8 @@ namespace brep
string rs,
string rcu,
uint32_t prn)
- : warning_success (ws),
+ : kind (local), pre_check (true), re_request (false),
+ warning_success (ws),
installation_access (move (iat_tok), iat_ea),
installation_id (iid),
repository_node_id (move (rid)),