diff --git a/pkg/generator_db.go b/pkg/generator_db.go index 6f35c12..5bbf9a9 100644 --- a/pkg/generator_db.go +++ b/pkg/generator_db.go @@ -184,7 +184,7 @@ func (c *SourceDBConfig) getDbRequest() dbRequest { lacksMasks: c.LacksMasks, hasLatents: c.HasLatents, lacksLatents: c.LacksLatents, - returnLatents: c.HasLatents, // Could be exposed as it's done internally + returnLatents: c.ReturnLatents, minShortEdge: sanitizeInt(c.MinShortEdge), maxShortEdge: sanitizeInt(c.MaxShortEdge), minPixelCount: sanitizeInt(c.MinPixelCount),