Skip to content

Commit 54c05a8

Browse files
authored
[Upgrade] Migrate Tellent HR to new Authentication (#18913)
1 parent cdb1ef4 commit 54c05a8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

components/kiwihr/actions/create-employee/create-employee.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "kiwihr-create-employee",
77
name: "Create Employee",
88
description: "Add a new employee to kiwiHR. [See the documentation](https://api.kiwihr.com/api/docs/mutation.doc.html)",
9-
version: "0.0.2",
9+
version: "1.0.0",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/kiwihr/actions/update-employee-record/update-employee-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "kiwihr-update-employee-record",
77
name: "Update Employee Record",
88
description: "Update an existing employee's record in kiwiHR. [See the documentation](https://api.kiwihr.it/api/docs/mutation.doc.html)",
9-
version: "0.0.2",
9+
version: "1.0.0",
1010
annotations: {
1111
destructiveHint: true,
1212
openWorldHint: true,

components/kiwihr/kiwihr.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ export default {
194194
},
195195
methods: {
196196
_baseUrl() {
197-
return `${this.$auth.api_url}/api/graphql`;
197+
return `https://${this.$auth.subdomain}.kiwihr.com/api/graphql`;
198198
},
199199
_headers() {
200200
return {
201-
"X-Api-Key": `${this.$auth.api_key}`,
201+
"x-api-key": `${this.$auth.api_key}`,
202202
};
203203
},
204204
getClient() {

components/kiwihr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/kiwihr",
3-
"version": "0.1.1",
3+
"version": "1.0.0",
44
"description": "Pipedream kiwiHR Components",
55
"main": "kiwihr.app.mjs",
66
"keywords": [

components/kiwihr/sources/new-employee/new-employee.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "kiwihr-new-employee",
77
name: "New Employee",
88
description: "Emit new event when a new employee is added to KiwiHR.",
9-
version: "0.0.1",
9+
version: "1.0.0",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

0 commit comments

Comments
 (0)