Skip to content

Commit

Permalink
fix(): fix query interface
Browse files Browse the repository at this point in the history
  • Loading branch information
NarHakobyan committed Jan 2, 2025
1 parent b16dead commit cc69a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/post/queries/get-post.query.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ICommand } from '@nestjs/cqrs';
import type { IQuery } from '@nestjs/cqrs';

export class GetPostQuery implements ICommand {
export class GetPostQuery implements IQuery {
constructor(public readonly userId: Uuid) {}
}

0 comments on commit cc69a7d

Please sign in to comment.