Skip to content

Commit 57f393b

Browse files
fix: base64 flag both in sendQuery params and body (#1172)
1 parent 8535629 commit 57f393b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,10 +465,11 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
465465
// FIXME: after backend fix
466466
const {schema, ...rest} = params;
467467

468+
// FIXME: base64 is passed both to params and body to work on versions before and after 24-3
468469
return this.post<QueryAPIResponse<Action, Schema> | ErrorResponse>(
469470
this.getPath('/viewer/json/query'),
470471
{...rest, base64},
471-
{schema},
472+
{schema, base64},
472473
{
473474
concurrentId,
474475
timeout: params.timeout,

0 commit comments

Comments
 (0)