Skip to content

Commit

Permalink
fix: Allow passing null assigneeId and dueString to unset field (#155)
Browse files Browse the repository at this point in the history
fix: Allow passing null assigneeId and dueString to unset field
  • Loading branch information
engfragui committed Oct 10, 2022
1 parent 7b2078b commit 4a96c98
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@doist/todoist-api-typescript",
"version": "2.0.4",
"version": "2.0.5",
"description": "A typescript wrapper for the Todoist REST API.",
"author": "Doist developers",
"repository": "[email protected]:doist/todoist-api-typescript.git",
Expand Down
10 changes: 5 additions & 5 deletions src/types/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export type UpdateTaskArgs = {
description?: string
labels?: string[]
priority?: number
dueString?: string
dueLang?: string
dueDate?: string
dueDatetime?: string
assigneeId?: string
dueString?: string | null
dueLang?: string | null
dueDate?: string | null
dueDatetime?: string | null
assigneeId?: string | null
}

export type ProjectViewStyle = 'list' | 'board'
Expand Down

0 comments on commit 4a96c98

Please sign in to comment.