diff --git a/Shoko.Commons b/Shoko.Commons index e257946e1..258c2e38a 160000 --- a/Shoko.Commons +++ b/Shoko.Commons @@ -1 +1 @@ -Subproject commit e257946e182c409130102d34374c41a6f8d77ddb +Subproject commit 258c2e38a060b78df28947bc5f028419cfe521a8 diff --git a/Shoko.Server/API/v3/Models/Shoko/User.cs b/Shoko.Server/API/v3/Models/Shoko/User.cs index 85eebc634..8349eb9b6 100644 --- a/Shoko.Server/API/v3/Models/Shoko/User.cs +++ b/Shoko.Server/API/v3/Models/Shoko/User.cs @@ -228,6 +228,7 @@ public CreateOrUpdateUserBody() { } // Update restricted tags for the user. if (RestrictedTags != null) { + user.InvalidateHideCategoriesCache(); var tags = RestrictedTags .Select(tagID => RepoFactory.AniDB_Tag.GetByTagID(tagID)) .Where(tag => tag != null)