From b86e9d96cf4a55aa1179d9f23d012012b35e5828 Mon Sep 17 00:00:00 2001 From: astra Date: Thu, 6 Jun 2024 09:18:46 +0100 Subject: [PATCH 1/2] Update go to 1.21.1 --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index fe6c997..853dd1f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module git.zio.sh/astra/photoprism-client-go +module git.zio.sh/astra/photoprism-client-go/v2 -go 1.18 +go 1.21.1 require git.zio.sh/astra/logger v1.0.1 From 4e41e5f1a1b12967e7779e3802b44d740f65c935 Mon Sep 17 00:00:00 2001 From: Astra Date: Fri, 28 Jun 2024 18:59:13 +0200 Subject: [PATCH 2/2] Update api/v1/types.go --- api/v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/types.go b/api/v1/types.go index e10d8a1..3703759 100644 --- a/api/v1/types.go +++ b/api/v1/types.go @@ -220,7 +220,7 @@ type File struct { type PhotoLabel struct { PhotoID uint `json:"PhotoID"` LabelID uint `json:"LabelID"` - LabelSrc string `json:"LabelSrc""` + LabelSrc string `json:"LabelSrc"` Uncertainty int `json:"Uncertainty"` Photo *Photo `json:"Photo"` Label *Label `json:"Label"`