We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1896c9d commit 3dc4241Copy full SHA for 3dc4241
services/api/src/core/profiles/client/controllers/current-profile.controller.ts
@@ -35,9 +35,9 @@ export class CurrentProfileController {
35
36
@Delete()
37
async deleteCurrentProfile(
38
- @Query() query: DeleteCurrentProfileCommand,
+ @Query() command: DeleteCurrentProfileCommand,
39
): Promise<null> {
40
- return await this.queryBus.execute(query);
+ return await this.commandBus.execute(command);
41
}
42
43
@Get("/exists")
0 commit comments