File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
app/src/components/domain Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ function GoMultiFileInput<T extends NameType>(props: Props<T>) {
9797 formData : true ,
9898 url,
9999 method : 'POST' ,
100+ useCurrentLanguageForMutation : true ,
100101 body : ( body : { files : File [ ] } ) => {
101102 const formData = new FormData ( ) ;
102103
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ function GoSingleFileInput<T extends NameType>(props: Props<T>) {
8888 // FIXME: fix typing in server (low priority)
8989 // the server generated type for response and body is the same
9090 body : ( body ) => body as never ,
91+ useCurrentLanguageForMutation : true ,
9192 onSuccess : ( response ) => {
9293 const { id, file } = response ;
9394 onChange ( id , name ) ;
You can’t perform that action at this time.
0 commit comments