integration tests
Some checks failed
CI / lint-typecheck (pull_request) Failing after 4m50s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped
Some checks failed
CI / lint-typecheck (pull_request) Failing after 4m50s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped
This commit is contained in:
@@ -11,14 +11,6 @@ export class RemoveMemberUseCase {
|
||||
) {}
|
||||
|
||||
async execute(command: RemoveMemberCommand): Promise<void> {
|
||||
// TODO: Implement remove member logic
|
||||
// This is a placeholder implementation
|
||||
// In a real implementation, this would:
|
||||
// 1. Validate the league exists
|
||||
// 2. Validate the admin has permission to remove
|
||||
// 3. Find the member to remove
|
||||
// 4. Remove the member from the league
|
||||
// 5. Emit appropriate events
|
||||
throw new Error('RemoveMemberUseCase not implemented');
|
||||
await this.leagueRepository.removeLeagueMember(command.leagueId, command.targetDriverId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user