mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
fix(multiplayer): recover recorded allocations
This commit is contained in:
@@ -20,6 +20,10 @@ func (s AllocatingMatchClaims) ClaimAllocatingMatch(ctx context.Context, now tim
|
||||
return item.Request, found, err
|
||||
}
|
||||
|
||||
func (s AllocatingMatchClaims) FindProviderAllocation(ctx context.Context, request domain.AllocationRequest) (domain.Allocation, bool, error) {
|
||||
return FindProviderAllocation(ctx, s.DB, request)
|
||||
}
|
||||
|
||||
func (s AllocatingMatchClaims) BindAllocatedMatch(ctx context.Context, allocation domain.Allocation) error {
|
||||
return BindAllocatedMatch(ctx, s.DB, allocation)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user