Skip to content

Commit

Permalink
Add new_goal_memberships to Asana-enable header to suppress warnings. (
Browse files Browse the repository at this point in the history
…#74)

* Add new_goal_memberships to Asana-enable header to suppress warnings.

* Update build.
  • Loading branch information
sammacbeth authored Sep 22, 2023
1 parent df28f9d commit 98b4d9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const CUSTOM_FIELD_NAMES = {
type PRState = 'Open' | 'Closed' | 'Merged' | 'Approved' | 'Draft'
const client = Client.create({
defaultHeaders: {
'asana-enable': 'new_user_task_lists,new_project_templates'
'asana-enable':
'new_user_task_lists,new_project_templates,new_goal_memberships'
}
}).useAccessToken(getInput('ASANA_ACCESS_TOKEN', {required: true}))
const ASANA_WORKSPACE_ID = getInput('ASANA_WORKSPACE_ID', {required: true})
Expand Down

0 comments on commit 98b4d9f

Please sign in to comment.