mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-03-24 12:45:49 +00:00
send messages on CUD
This commit is contained in:
@@ -92,10 +92,7 @@ export class UsersController {
|
||||
@GrpcMethod('UsersService', 'Delete')
|
||||
async deleteUser(data: FindUserByUuidRequest): Promise<void> {
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const user = await this._commandBus.execute(
|
||||
new DeleteUserCommand(data.uuid),
|
||||
);
|
||||
await this._commandBus.execute(new DeleteUserCommand(data.uuid));
|
||||
|
||||
return Promise.resolve();
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user