Commit e17320e
fix: make Template.importUrl nullable+optional for user templates
User templates omit `import_url` entirely from the response (see
map_user_template_to_contentful_response in todoist/apps/import_export/
controllers/common.py), so the schema needs to accept undefined as well
as null. Surfaced by a live `getTemplates({ templateSource: 'user' })`
call, which was failing with "expected string, received undefined".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 035fe81 commit e17320e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments