mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 15:25:59 +00:00
bigint support #1087
This commit is contained in:
@@ -13,6 +13,7 @@ import { callServerPing } from './connectionsPinger';
|
||||
import { batchDispatchCacheTriggers, dispatchCacheChange } from './cache';
|
||||
import { isAdminPage, isOneOfPage } from './pageDefs';
|
||||
import { openWebLink } from './simpleTools';
|
||||
import { serializeJsTypesReplacer } from 'dbgate-tools';
|
||||
|
||||
export const strmid = uuidv1();
|
||||
|
||||
@@ -177,7 +178,7 @@ export async function apiCall(
|
||||
'Content-Type': 'application/json',
|
||||
...resolveApiHeaders(),
|
||||
},
|
||||
body: JSON.stringify(args),
|
||||
body: JSON.stringify(args, serializeJsTypesReplacer),
|
||||
});
|
||||
|
||||
if (resp.status == 401 && !apiDisabled) {
|
||||
|
||||
Reference in New Issue
Block a user