szczanieckiej.git

commit 533eb3f740a23e013d974fdb7782379824a4a9e2

Author: Adam <git@apiote.xyz>

fix LocatableV2

 api/api.go | 2 +-


diff --git a/api/api.go b/api/api.go
index bcc32ceb0a5049542abba0f1b9a8976edaadae7e..3abdd769edfd177d94bc6bde1087d9ee3a742d44 100644
--- a/api/api.go
+++ b/api/api.go
@@ -362,7 +362,7 @@ 			v, err := convertTrafficVehicleV2(vehicle, context, t)
 			if err != nil {
 				return success, fmt.Errorf("while converting Traffic Vehicle %s: %w", vehicle.Id, err)
 			}
-			success.Locatables = append(success.Locatables, LocatableV1(v))
+			success.Locatables = append(success.Locatables, LocatableV2(v))
 		}
 	}
 	if otherV2, ok := other.(LocatablesResponseV2); ok {