From 3d38df6d038a2e75053461ad0c2829d10fb8a4e2 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Thu, 16 Jun 2022 18:10:05 +0200 Subject: [PATCH] fix(client): use new "target" name for param --- src/client/logs.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/logs.v b/src/client/logs.v index 49ef679..f242f6e 100644 --- a/src/client/logs.v +++ b/src/client/logs.v @@ -39,9 +39,9 @@ pub fn (c &Client) get_build_log_content(id int) ?string { } // add_build_log adds a new build log to the server. -pub fn (c &Client) add_build_log(repo_id int, start_time time.Time, end_time time.Time, arch string, exit_code int, content string) ?Response { +pub fn (c &Client) add_build_log(target_id int, start_time time.Time, end_time time.Time, arch string, exit_code int, content string) ?Response { params := { - 'repo': repo_id.str() + 'target': target_id.str() 'startTime': start_time.unix_time().str() 'endTime': end_time.unix_time().str() 'arch': arch