From 5c66220f76e09f626efa1de00457ff946caed3ab Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 23 Dec 2021 17:02:39 +0100 Subject: [PATCH] Add product to ocs Version struct The web ui will announce the backend version in the javascript console and is supposed to include the product name as well. The version seems to be a good location for the product field as it already includes the software edition as well. --- internal/http/services/owncloud/ocs/data/capabilities.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/http/services/owncloud/ocs/data/capabilities.go b/internal/http/services/owncloud/ocs/data/capabilities.go index 81ee4e33209..609f7a2979c 100644 --- a/internal/http/services/owncloud/ocs/data/capabilities.go +++ b/internal/http/services/owncloud/ocs/data/capabilities.go @@ -224,4 +224,5 @@ type Version struct { Micro int `json:"micro" xml:"micro"` // = patch level String string `json:"string" xml:"string"` Edition string `json:"edition" xml:"edition"` + Product string `json:"product" xml:"product"` }