@centia-io/sdk 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/centia-io-sdk.cjs +6 -3
- package/dist/centia-io-sdk.d.cts +9 -9
- package/dist/centia-io-sdk.d.cts.map +1 -1
- package/dist/centia-io-sdk.d.ts +9 -9
- package/dist/centia-io-sdk.d.ts.map +1 -1
- package/dist/centia-io-sdk.js +6 -3
- package/dist/centia-io-sdk.js.map +1 -1
- package/dist/centia-io-sdk.umd.js +6 -3
- package/package.json +1 -1
|
@@ -2370,11 +2370,14 @@
|
|
|
2370
2370
|
});
|
|
2371
2371
|
}
|
|
2372
2372
|
async patchPrivileges(schema, table, body) {
|
|
2373
|
-
|
|
2373
|
+
var _this2 = this;
|
|
2374
|
+
var _res$getHeader;
|
|
2375
|
+
return { location: (_res$getHeader = (await _this2.client.requestFull({
|
|
2374
2376
|
path: `api/v4/schemas/${encodeURIComponent(schema)}/tables/${encodeURIComponent(table)}/privileges`,
|
|
2375
2377
|
method: "PATCH",
|
|
2376
|
-
body
|
|
2377
|
-
|
|
2378
|
+
body,
|
|
2379
|
+
expectedStatus: 303
|
|
2380
|
+
})).getHeader("Location")) !== null && _res$getHeader !== void 0 ? _res$getHeader : "" };
|
|
2378
2381
|
}
|
|
2379
2382
|
};
|
|
2380
2383
|
|