Skip to content

Don't lookup user in temporary settings resolvers

Administrator requested to merge es/no-user-query-temp-settings into main

Created by: eseliger

The user is not actually required here, we're just interested in the user ID to look up the setting. Since a lookup is already made in the auth middleware, just using actor.UID here is just as good. This saves one DB call for this query that's run each time the page is visited.

Merge request reports

Loading