website refactor
This commit is contained in:
@@ -15,7 +15,7 @@ import { Mutation } from '@/lib/contracts/mutations/Mutation';
|
||||
* Pattern: Server Action → Mutation → Service → API Client
|
||||
*/
|
||||
export class DeleteUserMutation implements Mutation<{ userId: string }, void, MutationError> {
|
||||
async execute(input: { userId: string }): Promise<Result<void, MutationError>> {
|
||||
async execute(_input: { userId: string }): Promise<Result<void, MutationError>> {
|
||||
try {
|
||||
// Manual construction: Service creates its own dependencies
|
||||
const service = new AdminService();
|
||||
|
||||
Reference in New Issue
Block a user