Skip to content

Commit

Permalink
Include Linear project URL in model (#1572)
Browse files Browse the repository at this point in the history
* Update linear-projects.ts

* Update LinearProject model to add url
  • Loading branch information
iaculch authored Jan 29, 2024
1 parent 8c8932f commit 6fce964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration-templates/linear/linear-projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default async function fetchData(nango: NangoSync) {
nodes {
id
name
url
description
teams {
nodes {
Expand Down Expand Up @@ -60,6 +61,7 @@ function mapProjects(records: any[]): LinearProject[] {
return {
id: record.id,
name: record.name,
url: record.url,
description: record.description,
createdAt: new Date(record.createdAt),
updatedAt: new Date(record.updatedAt),
Expand Down
1 change: 1 addition & 0 deletions integration-templates/linear/nango.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ models:

LinearProject:
id: string
url: string
name: string
description: string | null
createdAt: date
Expand Down

0 comments on commit 6fce964

Please sign in to comment.