Skip to content

Commit

Permalink
Merge pull request #8 from oiBio/master
Browse files Browse the repository at this point in the history
Set Revision on AllowCategoryAsync()
  • Loading branch information
RyanTT authored Apr 2, 2022
2 parents c623529 + 98797e1 commit a3f3483
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public async Task AllowCategoryAsync(string categoryIdentifier)
newCategories.Add(category.Identifier);
newServices.AddRange(category.Services.Select(x => x.Identifier));

preferences.AcceptedRevision = _options.Value.Revision;
preferences.AllowedCategories = newCategories.Distinct().ToArray();
preferences.AllowedServices = newServices.Distinct().ToArray();

Expand Down

0 comments on commit a3f3483

Please sign in to comment.