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
@@ -87,7 +87,7 @@ namespace Disco.Web.Areas.Services.Controllers
}
}
}
throw new MissingMethodException(string.Format("Unknown Feature: {0}", feature));
throw new MissingMethodException($"Unknown Feature: {feature}");
}
[Authorize]
@@ -136,7 +136,7 @@ namespace Disco.Web.Areas.Services.Controllers
return Json(enrolResponse);
}
}
throw new MissingMethodException(string.Format("Unknown Feature: {0}", feature));
throw new MissingMethodException($"Unknown Feature: {feature}");
}
public virtual ActionResult ClientError(string SessionId, string DeviceIdentifier, string JsonException)