mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Nullify IRenameNotifyee
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Components
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -444,7 +444,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
await WithComponentInstanceNullable(
|
||||
async componentInstance =>
|
||||
{
|
||||
await componentInstance.InstanceRenamed(originalModel.Name, cancellationToken);
|
||||
await componentInstance.InstanceRenamed(originalModel.Name!, cancellationToken);
|
||||
return null;
|
||||
},
|
||||
originalModel);
|
||||
|
||||
Reference in New Issue
Block a user