qol: interpolated strings

This commit is contained in:
Gary Sharp
2025-07-20 11:56:34 +10:00
parent 4e518d6684
commit 7faebe56a8
108 changed files with 342 additions and 350 deletions
@@ -16,7 +16,7 @@ namespace Disco.Web.Areas.API.Controllers
{
throw new Exception("Invalid Device Certificate Id");
}
return File(wc.Content, "application/x-pkcs12", string.Format("{0}.pfx", wc.Name));
return File(wc.Content, "application/x-pkcs12", $"{wc.Name}.pfx");
}
}