Skip to content

Commit 1353a89

Browse files
committed
fix: Allow platform name omission
1 parent c7896d7 commit 1353a89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OpenActive.DatasetSite.NET/DatasetSiteGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static string RenderSimpleDatasetSiteFromDataDownloads(DatasetSiteGenerat
128128
BackgroundImage = new ImageObject {
129129
Url = settings.BackgroundImageUrl
130130
},
131-
BookingService = settings.PlatformName == null ? null : new BookingService
131+
BookingService = settings.PlatformName == null && settings.TestSuiteCertificateUrl == null ? null : new BookingService
132132
{
133133
Name = settings.PlatformName,
134134
Url = settings.PlatformUrl,

0 commit comments

Comments
 (0)