[backend/masto-api] Fix hideInaccessible not being respected in streaming connection updates
This commit is contained in:
parent
afd977d9ce
commit
f45b020699
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ public class WebSocketController(
|
|||
private async Task<OauthToken> Authenticate(string token)
|
||||
{
|
||||
return await db.OauthTokens
|
||||
.Include(p => p.User)
|
||||
.ThenInclude(p => p.UserProfile)
|
||||
.Include(p => p.User.UserProfile)
|
||||
.Include(p => p.User.UserSettings)
|
||||
.Include(p => p.App)
|
||||
.FirstOrDefaultAsync(p => p.Token == token && p.Active) ??
|
||||
throw GracefulException.Unauthorized("This method requires an authenticated user");
|
||||
|
|
Loading…
Add table
Reference in a new issue