ChatController: Use new oauth scope *:chats.

This commit is contained in:
lain 2020-06-06 16:48:02 +02:00
commit f4cf4ae16e
3 changed files with 17 additions and 17 deletions

View file

@ -33,7 +33,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["write"]
"oAuth" => ["write:chats"]
}
]
}
@ -58,7 +58,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["write"]
"oAuth" => ["write:chats"]
}
]
}
@ -120,7 +120,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["write"]
"oAuth" => ["write:chats"]
}
]
}
@ -137,7 +137,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["read"]
"oAuth" => ["read:chats"]
}
]
}
@ -161,7 +161,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["read"]
"oAuth" => ["read:chats"]
}
]
}
@ -187,7 +187,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["write"]
"oAuth" => ["write:chats"]
}
]
}
@ -212,7 +212,7 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
},
security: [
%{
"oAuth" => ["write"]
"oAuth" => ["write:chats"]
}
]
}