Skip to content

Commit 3dc4241

Browse files
Johan BookJohan Book
Johan Book
authored and
Johan Book
committed
fix(api): fix typo
1 parent 1896c9d commit 3dc4241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/api/src/core/profiles/client/controllers/current-profile.controller.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export class CurrentProfileController {
3535

3636
@Delete()
3737
async deleteCurrentProfile(
38-
@Query() query: DeleteCurrentProfileCommand,
38+
@Query() command: DeleteCurrentProfileCommand,
3939
): Promise<null> {
40-
return await this.queryBus.execute(query);
40+
return await this.commandBus.execute(command);
4141
}
4242

4343
@Get("/exists")

0 commit comments

Comments
 (0)