Skip to content

Commit 89bc88a

Browse files
fix: Remove dependency on projectId for GetSectionsArgs (#405)
1 parent e37a4b1 commit 89bc88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export type GetProjectCollaboratorsResponse = {
259259
* @see https://todoist.com/api/v1/docs#tag/Sections/operation/get_sections_api_v1_sections_get
260260
*/
261261
export type GetSectionsArgs = {
262-
projectId: string | null
262+
projectId?: string | null
263263
cursor?: string | null
264264
limit?: number
265265
}

0 commit comments

Comments
 (0)