]> 91.132.146.200 Git - scientia.git/commitdiff
some syntax stuff develop
authorBanana <mail@bananas-playground.net>
Mon, 7 Sep 2026 20:27:53 +0000 (22:27 +0200)
committerBanana <mail@bananas-playground.net>
Mon, 7 Sep 2026 20:27:53 +0000 (22:27 +0200)
Signed-off-by: Banana <mail@bananas-playground.net>
client/go-cli/scientia/cmd/add.go

index d4bd661e9430560894656837315dd516958040b7..f246a6c84d2876180e34cf0771a14fec43d218c5 100644 (file)
@@ -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")