From a4d2010ca0082eae66e8d8b213e2bf1c14d3c9c58a31cf848062693a7eb8d14d Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 30 Aug 2024 14:31:10 +0200 Subject: [PATCH] . --- bots-common/request_repo.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bots-common/request_repo.go b/bots-common/request_repo.go index 47af70d..9c44e40 100644 --- a/bots-common/request_repo.go +++ b/bots-common/request_repo.go @@ -64,6 +64,9 @@ func (h *RequestHandler) parseRepositoryRequest(dataReader io.Reader) (data *Rep return nil, fmt.Errorf("Request has no data.... skipping") } - h.Request.Data = data + h.Request = &Request { + Data: data, + Type: RequestType_Repository, + } return data, nil }