Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Await unawaited task when setting None policy #791

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

donaldgray
Copy link
Member

Bug introduced in #778. When switching IDeliveryChannelPolicyRepository to be async I missed an await. This is normally flagged in IDE but the the .Id property on returned task was accessed, which is a valid property of a Task and of same type hence IDE not flagging. Resulted in seemingly random id property being set for 'none'

The .Id property on returned task was accessed, which is a valid
property of a Task hence IDE not flagging. Resulted in seemingly random
id property being set for 'none'
@griffri griffri merged commit 3479ae7 into develop Apr 9, 2024
9 checks passed
@griffri griffri deleted the feature/none_channel_fix branch April 9, 2024 09:19
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.

None yet

3 participants