Skip to content

Commit db02d8a

Browse files
authored
fix(folk-crm): fix auth header (activepieces#10983)
1 parent 5e1e046 commit db02d8a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/pieces/community/folk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@activepieces/piece-folk",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"type": "commonjs",
55
"main": "./src/index.js",
66
"types": "./src/index.d.ts",

packages/pieces/community/folk/src/lib/common/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const folkClient = {
3030
method,
3131
url: `${this.baseUrl}${url}`,
3232
headers: {
33-
Authorization: `Bearer ${apiKey}`,
33+
Authorization: `Bearer ${apiKey.secret_text}`,
3434
'Content-Type': 'application/json',
3535
...headers,
3636
},

0 commit comments

Comments
 (0)