searches need authorization as they are not working without user id in context

This commit is contained in:
Moriz Wahl 2022-10-05 08:57:13 +02:00
parent ab5d308caa
commit aa870b5020

View File

@ -299,10 +299,10 @@ export default shield(
{
Query: {
'*': deny,
searchResults: allow,
searchPosts: allow,
searchUsers: allow,
searchHashtags: allow,
searchResults: isAuthenticated,
searchPosts: isAuthenticated,
searchUsers: isAuthenticated,
searchHashtags: isAuthenticated,
embed: allow,
Category: allow,
Tag: allow,