From 443678c15f3bda4b258b31ed2d6ef409577cafdf Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Thu, 30 May 2024 10:17:04 +0200 Subject: Rename head_sha to report_sha in service data --- mod/mod-ci-github-service-data.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mod/mod-ci-github-service-data.cxx') diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx index 7fd554d..1121f2f 100644 --- a/mod/mod-ci-github-service-data.cxx +++ b/mod/mod-ci-github-service-data.cxx @@ -55,7 +55,7 @@ namespace brep merge_node_id = *s; } - head_sha = p.next_expect_member_string ("head_sha"); + report_sha = p.next_expect_member_string ("report_sha"); p.next_expect_member_array ("check_runs"); while (p.next_expect (event::begin_object, event::end_array)) @@ -93,12 +93,12 @@ namespace brep timestamp iat_ea, uint64_t iid, string rid, - string hs) + string rs) : warning_success (ws), installation_access (move (iat_tok), iat_ea), installation_id (iid), repository_node_id (move (rid)), - head_sha (move (hs)) + report_sha (move (rs)) { } @@ -117,7 +117,7 @@ namespace brep repository_node_id (move (rid)), repository_clone_url (move (rcu)), pr_number (prn), - head_sha (move (hs)) + report_sha (move (rs)) { } @@ -161,7 +161,7 @@ namespace brep else s.value (nullptr); - s.member ("head_sha", head_sha); + s.member ("report_sha", report_sha); s.member_begin_array ("check_runs"); for (const check_run& cr: check_runs) -- cgit v1.1