Send purpose with render request

This commit is contained in:
Gregory Schier
2024-08-23 13:31:39 -07:00
parent 5ba11ca788
commit 7ca3b9bd20
20 changed files with 47 additions and 47 deletions

View File

@@ -8,7 +8,7 @@
"name": "importer-curl",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.11",
"@yaakapp/api": "^0.1.12",
"shell-quote": "^1.8.1"
},
"devDependencies": {
@@ -709,9 +709,9 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.11",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.11.tgz",
"integrity": "sha512-dRZAXrQpftWygy9nJXiIYPzLA9om6reO/RiEacMe9RKqMjNG6FRF8cGmj7BcdyreizJOkH/DmcOpxn09kDD0XA==",
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.12.tgz",
"integrity": "sha512-qA+2BBZz1LGTi0wsOmlwaw6xJbE3elPIUMt/BkiRT+DqQC5spZtISsyoPXjtsM0xZc2orjoRJd0LesXH7xkD0g==",
"dependencies": {
"@types/node": "^22.0.0"
}

View File

@@ -6,7 +6,7 @@
"build": "yaakcli ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.11",
"@yaakapp/api": "^0.1.12",
"shell-quote": "^1.8.1"
},
"devDependencies": {

View File

@@ -173,7 +173,7 @@ function importCommand(parseEntries: ParseEntry[], workspaceId: string) {
urlParameters =
search?.split('&').map((p) => {
const v = splitOnce(p, '=');
return { name: v[0] ?? '', value: v[1] ?? '', enabled: true };
return { name: decodeURIComponent(v[0] ?? ''), value: decodeURIComponent(v[1] ?? ''), enabled: true };
}) ?? [];
url = baseUrl ?? urlArg;