Skip to content

fix: guard against missing sync job config in GetSyncJobConfig#104

Merged
devlead merged 1 commit intoWCOMAB:mainfrom
devlead:feature/guardNoConfig
Feb 13, 2026
Merged

fix: guard against missing sync job config in GetSyncJobConfig#104
devlead merged 1 commit intoWCOMAB:mainfrom
devlead:feature/guardNoConfig

Conversation

@devlead
Copy link
Copy Markdown
Member

@devlead devlead commented Feb 13, 2026

  • Use null-conditional access when reading syncJobsConfig.Value.Jobs
  • Return 204 No Content from ListIds when config or jobs are null
  • Change ListIds, ListAreas, GetJobConfig to synchronous; no async/await used
  • Explicit TryGetValue checks (== true) for clarity with null-conditional

- Use null-conditional access when reading syncJobsConfig.Value.Jobs
- Return 204 No Content from ListIds when config or jobs are null
- Change ListIds, ListAreas, GetJobConfig to synchronous; no async/await used
- Explicit TryGetValue checks (== true) for clarity with null-conditional
@devlead devlead merged commit 6ffe754 into WCOMAB:main Feb 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant