Browse Source

fix(loader): Ensure v8 is at top of list (#74930)

Ensure that v8 is actually the first item in the list, not the last (if
feature is enabled)
Francesco Novy 7 months ago
parent
commit
6b6265c4a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/loader/browsersdkversion.py

+ 1 - 1
src/sentry/loader/browsersdkversion.py

@@ -101,6 +101,6 @@ def get_available_sdk_versions_for_project(project):
     versions = project.get_option("sentry:loader_available_sdk_versions")
 
     if features.has("organizations:js-sdk-loader-v8", project.organization, actor=None):
-        return versions + ["8.x"]
+        return ["8.x"] + versions
 
     return versions