Skip to content

Commit

Permalink
fix: Missing Place reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk committed Aug 2, 2023
1 parent 2fe91e4 commit f8a4150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions Examples/BookingSystem.AspNetCore/Stores/SessionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,7 @@ protected override async Task GetOrderItems(List<OrderItemContext<SessionOpportu
}),
Name = @class.Title,
Url = new Uri("https://example.com/events/" + occurrence.ClassId),
Location = new Place
{
Name = "Fake fitness studio",
Geo = new GeoCoordinates
{
Latitude = 51.6201M,
Longitude = 0.302396M
}
},
Location = _fakeBookingSystem.Database.GetPlaceById(@class.PlaceId),
Activity = new List<Concept>
{
new Concept
Expand Down
10 changes: 1 addition & 9 deletions Examples/BookingSystem.AspNetFramework/Stores/SessionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,7 @@ protected override async Task GetOrderItems(List<OrderItemContext<SessionOpportu
}),
Name = @class.Title,
Url = new Uri("https://example.com/events/" + occurrence.ClassId),
Location = new Place
{
Name = "Fake fitness studio",
Geo = new GeoCoordinates
{
Latitude = 51.6201M,
Longitude = 0.302396M
}
},
Location = _fakeBookingSystem.Database.GetPlaceById(@class.PlaceId),
Activity = new List<Concept>
{
new Concept
Expand Down

0 comments on commit f8a4150

Please sign in to comment.