Skip to content

Commit 812e46c

Browse files
authored
Merge pull request #1212 from TechnologyEnhancedLearning/Develop/Fixes/TD-5501
Userbookmark bugfix
2 parents 652cd24 + c38af42 commit 812e46c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/BaseEntityMap.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ public void Map(ModelBuilder builder)
3838
&& typeof(TEntityType) != typeof(EmbeddedResourceVersion)
3939
&& typeof(TEntityType) != typeof(EquipmentResourceVersion)
4040
&& typeof(TEntityType) != typeof(GenericFileResourceVersion)
41+
&& typeof(TEntityType) != typeof(HtmlResourceVersion)
4142
&& typeof(TEntityType) != typeof(ImageResourceVersion)
4243
&& typeof(TEntityType) != typeof(VideoResourceVersion)
4344
&& typeof(TEntityType) != typeof(WebLinkResourceVersion)
4445
&& typeof(TEntityType) != typeof(ResourceLicence)
45-
&& typeof(TEntityType) != typeof(User))
46+
&& typeof(TEntityType) != typeof(User)
47+
&& typeof(TEntityType) != typeof(UserBookmark))
4648
{
4749
builder.Entity<TEntityType>().HasQueryFilter(e => !e.Deleted);
4850
}

0 commit comments

Comments
 (0)