mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Nullify FileDownloader
This commit is contained in:
@@ -7,8 +7,6 @@ using Microsoft.Extensions.Logging;
|
||||
using Tgstation.Server.Api;
|
||||
using Tgstation.Server.Common.Http;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.IO
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -36,7 +34,7 @@ namespace Tgstation.Server.Host.IO
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public IFileStreamProvider DownloadFile(Uri url, string bearerToken)
|
||||
public IFileStreamProvider DownloadFile(Uri url, string? bearerToken)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user