fix: jslib wrong query param
ci/woodpecker/push/woodpecker Pipeline was successful Details

feat/plugins-backend
Tomáš Mládek 2024-04-08 22:14:28 +02:00
parent 1738643050
commit 07a150b99d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@upnd/upend", "name": "@upnd/upend",
"version": "0.5.3", "version": "0.5.4",
"description": "Client library to interact with the UpEnd system.", "description": "Client library to interact with the UpEnd system.",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -237,7 +237,7 @@ export class UpEndApi {
) { ) {
let result = `${this.apiUrl}/${config?.preview ? "thumb" : "raw"}/${address}`; let result = `${this.apiUrl}/${config?.preview ? "thumb" : "raw"}/${address}`;
if (config?.authenticated) { if (config?.authenticated) {
result += `?key=${this.key}`; result += `?auth_key=${this.key}`;
} }
return result; return result;
} }