@@ -38,7 +38,7 @@ export const handleUpdateInformation = async (): Promise<void> => {
3838 Accept : 'application/json, text/plain, */*' ,
3939 'Content-Type' : 'application/json' ,
4040 } ,
41- body : JSON . stringify ( { version : installedVersion . value } ) ,
41+ body : installedVersion . value ,
4242 } ) ;
4343
4444 if ( ! response . ok ) {
@@ -88,7 +88,7 @@ export const handleConfigBackup = async (): Promise<void> => {
8888 Accept : 'application/json, text/plain, */*' ,
8989 'Content-Type' : 'application/json' ,
9090 } ,
91- body : JSON . stringify ( { version : installedVersion . value } ) ,
91+ body : installedVersion . value ,
9292 } ) ;
9393
9494 if ( ! response . ok ) {
@@ -121,7 +121,7 @@ export const handleDatabaseUpdate = async (): Promise<void> => {
121121 Accept : 'application/json, text/plain, */*' ,
122122 'Content-Type' : 'application/json' ,
123123 } ,
124- body : JSON . stringify ( { version : installedVersion . value } ) ,
124+ body : installedVersion . value ,
125125 } ) ;
126126
127127 const result = await response . json ( ) ;
0 commit comments