Skip to content

Commit 6370b61

Browse files
irinaAbramova-devirinaP-local
authored andcommitted
#RI-4815 delete encoding from fetching download
1 parent 012d54e commit 6370b61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redisinsight/ui/src/slices/browser/string.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ export function fetchDownloadStringValue(
143143

144144
try {
145145
const state = stateInit()
146-
const { encoding } = state.app.info
147146
const { data, status, headers } = await apiService.post(
148147
getUrl(
149148
state.connections.instances.connectedInstance?.id,
@@ -152,7 +151,7 @@ export function fetchDownloadStringValue(
152151
{
153152
keyName: key,
154153
},
155-
{ params: { encoding }, responseType: 'arraybuffer' },
154+
{ responseType: 'arraybuffer' },
156155
)
157156

158157
if (isStatusSuccessful(status)) {

0 commit comments

Comments
 (0)