diff --git a/src/Tgstation.Server.Host/Components/InstanceManager.cs b/src/Tgstation.Server.Host/Components/InstanceManager.cs index 6c61afd878..46b39b8e8c 100644 --- a/src/Tgstation.Server.Host/Components/InstanceManager.cs +++ b/src/Tgstation.Server.Host/Components/InstanceManager.cs @@ -8,6 +8,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; +using Tgstation.Server.Host.Components.Watchdog; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.IO; @@ -16,11 +17,6 @@ namespace Tgstation.Server.Host.Components /// sealed class InstanceManager : IInstanceManager, IHostedService, IInteropRegistrar, IDisposable { - /// - /// HTTP GET query key for interop access identifiers - /// - const string AccessIdentifierQueryKey = "access"; - /// /// The for the /// @@ -222,7 +218,7 @@ namespace Tgstation.Server.Host.Components if (query == null) throw new ArgumentNullException(nameof(query)); - if (!query.TryGetValue(AccessIdentifierQueryKey, out StringValues values)) + if (!query.TryGetValue(InteropConstants.DMInteropAccessIdentifier, out StringValues values)) return null; var accessIdentifier = values.FirstOrDefault(); if (accessIdentifier == default)