Skip to content

Commit 30584c1

Browse files
Potential fix for code scanning alert no. 167: Useless assignment to local variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 6b65f28 commit 30584c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server.UI/Pages/Contacts/Contacts.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
await result.MatchAsync<byte[]>(
308308
async data =>
309309
{
310-
var downloadresult = await BlazorDownloadFileService.DownloadFile($"{L["Contacts"]}.xlsx", result.Data, contentType: "application/octet-stream");
310+
await BlazorDownloadFileService.DownloadFile($"{L["Contacts"]}.xlsx", result.Data, contentType: "application/octet-stream");
311311
Snackbar.Add($"{ConstantString.ExportSuccess}", MudBlazor.Severity.Info);
312312
return data;
313313
},

0 commit comments

Comments
 (0)