File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,13 @@ async function requestDashVersionInfo(config) {
47
47
link : cachedNewDashVersionLink
48
48
} ;
49
49
} else {
50
- return fetch ( dashVersionUrl , {
51
- method : 'POST' ,
52
- body : JSON . stringify ( {
53
- dash_version : currentDashVersion ,
54
- python_version : pythonVersion ,
55
- ddk_version : ddkVersion ,
56
- plotly_version : plotlyVersion
57
- } ) ,
58
- headers : {
59
- 'Content-Type' : 'application/json'
60
- }
61
- } )
50
+ const queryParams = new URLSearchParams ( {
51
+ dash_version : currentDashVersion ,
52
+ python_version : pythonVersion ,
53
+ ddk_version : ddkVersion ,
54
+ plotly_version : plotlyVersion
55
+ } ) . toString ( ) ;
56
+ return fetch ( dashVersionUrl + '?' + queryParams )
62
57
. then ( response => response . json ( ) )
63
58
. catch ( ( ) => {
64
59
return { } ;
You can’t perform that action at this time.
0 commit comments