This commit is contained in:
Timothy Baldridge 2021-12-17 11:02:46 -07:00
parent 70db76338b
commit 43a648b194

View File

@ -247,7 +247,7 @@ public class DownloadDispatcher
public bool Matches(Archive archive, ServerAllowList mirrorAllowList)
{
if (archive.State is DTOs.DownloadStates.GoogleDrive gdrive)
return mirrorAllowList.GoogleIDs.Contains(gdrive.Id);
return mirrorAllowList.GoogleIDs?.Contains(gdrive.Id) ?? false;
var downloader = Downloader(archive);