mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 23:17:20 +01:00
Add missing AsQueryable
This commit is contained in:
@@ -124,6 +124,7 @@ namespace Tgstation.Server.Host.Authority
|
||||
|
||||
var permissionSetId = await DatabaseContext
|
||||
.PermissionSets
|
||||
.AsQueryable()
|
||||
.Where(permissionSet => permissionSet.UserId == userId
|
||||
|| groupIdQuery.Contains(permissionSet.GroupId))
|
||||
.Select(permissionSet => permissionSet.Id!.Value)
|
||||
|
||||
Reference in New Issue
Block a user