Rearrange temporary variables to make debugging easier

This commit is contained in:
Jordan Dominion
2025-08-17 18:06:00 -04:00
parent e787017992
commit d4e0500cb2
@@ -195,8 +195,9 @@ namespace Tgstation.Server.Host.Authority.Core
public async ValueTask<AuthorityResponse<TResult>> Resolve(Func<IQueryable<TQueried>, IQueryable<ProjectedPair<TQueried, TResult>>> projection)
{
ArgumentNullException.ThrowIfNull(projection);
var selection = await projection(query)
.Select(selector)
var finalQueryable = projection(query)
.Select(selector);
var selection = await finalQueryable
.FirstOrDefaultAsync(cancellationToken);
return resultMapper(selection);
}