Skip to content

Commit 9a7d701

Browse files
committed
allow newer native versions to get bundles too
1 parent 2a0d024 commit 9a7d701

File tree

1 file changed

+1
-1
lines changed
  • backend/pkg/api/data_access

1 file changed

+1
-1
lines changed

backend/pkg/api/data_access/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (d *DataAccessService) GetLatestBundleForNativeVersion(ctx context.Context,
124124
delivered_count,
125125
COALESCE(target_count, -1) as target_count
126126
FROM mobile_app_bundles
127-
WHERE min_native_version = $1
127+
WHERE min_native_version <= $1
128128
ORDER BY bundle_version DESC
129129
LIMIT 1
130130
)

0 commit comments

Comments
 (0)