Fux 500 error when reading old compile jobs

This commit is contained in:
Jordan Brown
2021-01-03 16:16:02 -05:00
parent 024c4bfcec
commit 218d90f99b
@@ -90,7 +90,7 @@ namespace Tgstation.Server.Host.Models
ByondVersion = Version.Parse(ByondVersion),
MinimumSecurityLevel = MinimumSecurityLevel,
DMApiVersion = DMApiVersion,
RepositoryOrigin = new Uri(RepositoryOrigin),
RepositoryOrigin = RepositoryOrigin != null ? new Uri(RepositoryOrigin) : null,
};
}
}