@onedoc/client
Advanced tools
Comparing version 0.1.28 to 0.1.29
@@ -177,3 +177,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
console.log(response); | ||
const doc = await fetch(this.buildUrl("/api/docs/generate"), { | ||
@@ -180,0 +179,0 @@ method: "POST", |
{ | ||
"name": "@onedoc/client", | ||
"version": "0.1.28", | ||
"version": "0.1.29", | ||
"description": "Onedoc client for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -161,2 +161,3 @@ import { HtmlBuilder } from "./htmlBuilder"; | ||
await uploadToSignedUrl(e.signedUrl, e.path, e.token, asset.content); | ||
} else if (e.path == "/index.html") { | ||
@@ -179,3 +180,2 @@ let htmlBuilder = new HtmlBuilder(document.title); | ||
console.log(response); | ||
@@ -227,11 +227,1 @@ const doc = await fetch(this.buildUrl("/api/docs/generate"), { | ||
/** | ||
* "raw": "{\"statusCode\":500,\"error\":\"internal\",\"originalError\":{\"length\":135,\"name\":\"error\",\"severity\":\"ERROR\",\"code\":\"22P02\",\"file\":\"uuid.c\",\"line\":\"133\",\"routine\":\"string_to_uuid\"},\"details\":\"insert into \\\"objects\\\" (\\\"bucket_id\\\", \\\"metadata\\\", \\\"name\\\", \\\"owner\\\", \\\"owner_id\\\", \\\"version\\\") values ($1, DEFAULT, $2, DEFAULT, DEFAULT, $3) - invalid input syntax for type uuid: \\\"pdf-70924304-2a67-4f75-99de-7e53bdbd7251\\\"\"}", | ||
*/ | ||
/** allow_owned_buckets | ||
* ( SELECT (EXISTS ( SELECT 1 | ||
FROM buckets | ||
WHERE ((buckets.id = (objects.bucket_id)::uuid) AND (buckets.api_key_id = (((current_setting('request.headers'::text, true))::json ->> 'x-api-key'::text))::uuid)))) AS "exists") | ||
*/ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64591
754