diff --git a/cmd/piwigo-cli/images_details.go b/cmd/piwigo-cli/images_details.go index ad08e12..b18ca06 100644 --- a/cmd/piwigo-cli/images_details.go +++ b/cmd/piwigo-cli/images_details.go @@ -59,7 +59,6 @@ func (c *ImageDetailsCommand) Execute(args []string) error { {"Filesize", resp.Filesize}, {"Categories", strings.Join(resp.Categories.Names(), "\n")}, {"Tags", strings.Join(resp.Tags.NamesWithAgeAt(resp.DateCreation), "\n")}, - // {"Derivatives", resp.Derivatives}, }) t.SetOutputMirror(os.Stdout) t.SetStyle(table.StyleLight) diff --git a/internal/piwigo/piwigotools/tags.go b/internal/piwigo/piwigotools/tags.go index 7d13fdc..59a3017 100644 --- a/internal/piwigo/piwigotools/tags.go +++ b/internal/piwigo/piwigotools/tags.go @@ -4,7 +4,7 @@ import ( "fmt" ) -type Tags []Tag +type Tags []*Tag type Tag struct { Id int `json:"id"`