From: Banana Date: Mon, 7 Sep 2026 20:27:53 +0000 (+0200) Subject: some syntax stuff X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=scientia.git some syntax stuff Signed-off-by: Banana --- diff --git a/client/go-cli/scientia/cmd/add.go b/client/go-cli/scientia/cmd/add.go index d4bd661..f246a6c 100644 --- a/client/go-cli/scientia/cmd/add.go +++ b/client/go-cli/scientia/cmd/add.go @@ -16,7 +16,7 @@ import ( /** * scientia * - * Copyright 2023 - 2024 Johannes Keßler + * Copyright 2023 - 2026 Johannes Keßler * * https://www.bananas-playground.net/projekt/scientia/ * @@ -129,7 +129,8 @@ func upload(payload string) Response { if response.StatusCode != 200 { returnResponse = Response { Message: "Invalid response status. Use --debug for more information.", - Status: response.StatusCode } + Status: response.StatusCode, + } } else { err := json.Unmarshal([]byte(responseBody), &returnResponse) Helper.ErrorCheck(err, "Can not parse return json")