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"` 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