Add assets snapshots
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -64,7 +64,9 @@ func (s VendorService) ListForOrganizationId(
|
||||
ctx,
|
||||
func(conn pg.Conn) error {
|
||||
showOnTrustCenter := true
|
||||
filter := coredata.NewVendorFilter(nil, &showOnTrustCenter)
|
||||
var nilSnapshotID *gid.GID = nil
|
||||
filter := coredata.NewVendorFilter(&nilSnapshotID, &showOnTrustCenter)
|
||||
|
||||
err := vendors.LoadByOrganizationID(ctx, conn, s.svc.scope, organizationID, cursor, filter)
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot load vendors: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user