fix(api): use cache for switch member lookups
This commit is contained in:
parent
0a58c9a9ed
commit
e6d8c44d72
@ -95,7 +95,7 @@ public class SwitchControllerV2: PKControllerBase
|
||||
|
||||
foreach (var memberRef in data.Members)
|
||||
{
|
||||
var member = await ResolveMember(memberRef);
|
||||
var member = await ResolveMember(memberRef, cache: true);
|
||||
if (member == null)
|
||||
throw Errors.MemberNotFoundWithRef(memberRef);
|
||||
if (member.System != system.Id)
|
||||
|
Loading…
Reference in New Issue
Block a user