Skip to content

Commit c6c7dfb

Browse files
Potential fix for pull request finding 'CodeQL / Useless upcast'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 6780305 commit c6c7dfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dashboard/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
id = record.UserId,
282282
login = $"user-{record.UserId & 0xFFFF:X4}",
283283
name = record.Name,
284-
avatar = (string?)null,
284+
avatar = null,
285285
email = record.Email,
286286
}));
287287
}

0 commit comments

Comments
 (0)