diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-08 15:00:03 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-08 15:00:03 +0300 |
commit | b63faf9819c2c49d2e9b63e7f37136eb03d8b4e8 (patch) | |
tree | d25b45e591b65becf796c08b6004e23c1be67a3c /lib/pleroma/web/oauth/oauth_controller.ex | |
parent | c45013df8e53334bcc1afb8cd1df673c290037ee (diff) | |
download | pleroma-b63faf9819c2c49d2e9b63e7f37136eb03d8b4e8.tar.gz |
[#1234] Mastodon 2.4.3 hierarchical scopes initial support (WIP).
Diffstat (limited to 'lib/pleroma/web/oauth/oauth_controller.ex')
-rw-r--r-- | lib/pleroma/web/oauth/oauth_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/oauth/oauth_controller.ex b/lib/pleroma/web/oauth/oauth_controller.ex index 81eae2c8b..130ec7895 100644 --- a/lib/pleroma/web/oauth/oauth_controller.ex +++ b/lib/pleroma/web/oauth/oauth_controller.ex @@ -451,7 +451,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do defp validate_scopes(app, params) do params |> Scopes.fetch_scopes(app.scopes) - |> Scopes.validates(app.scopes) + |> Scopes.validate(app.scopes) end def default_redirect_uri(%App{} = app) do |