Merge branch 'develop' into feature/bulk-confirmation
[akkoma] / lib / pleroma / plugs / oauth_scopes_plug.ex
index efc25b79ff7e6c8afaa6175e79eb079d1f8a9a88..b1a736d78ad2cf02727dd049769bc9937ae3f5c1 100644 (file)
@@ -53,7 +53,7 @@ defmodule Pleroma.Plugs.OAuthScopesPlug do
     |> assign(:token, nil)
   end
 
-  @doc "Filters descendants of supported scopes"
+  @doc "Keeps those of `scopes` which are descendants of `supported_scopes`"
   def filter_descendants(scopes, supported_scopes) do
     Enum.filter(
       scopes,