npm package diff
Package: @forge/sql
Versions: 0.1.0-next.1 - 0.1.0-next.1-experimental-470bc94
File: package/out/sql.js
Index: package/out/sql.js
===================================================================
--- package/out/sql.js
+++ package/out/sql.js
@@ -29,16 +29,12 @@
async executeRaw(query) {
return await this.prepare(query).execute();
}
async _provision() {
- try {
- await this.sendRequest('/api/v1/provision', {
- method: 'POST'
- });
- }
- catch (e) {
- throw e;
- }
+ const response = await this.sendRequest('/api/v1/provision', {
+ method: 'POST'
+ });
+ await (0, response_handler_1.getResponseBody)(response);
}
}
exports.SqlClient = SqlClient;
exports.sql = new SqlClient();