Skip to content

Commit

Permalink
fix: event dto
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoxong committed Apr 8, 2024
1 parent 44c3964 commit 6eb478f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { UpdateEventDto } from "./dto/update-event.dto";
@Injectable()
export class EventService {
create(createEventDto: CreateEventDto) {
return "This action adds a new event";
return createEventDto;
}

findAll() {
Expand All @@ -17,7 +17,7 @@ export class EventService {
}

update(id: number, updateEventDto: UpdateEventDto) {
return `This action updates a #${id} event`;
return `This action updates a #${id} event` + updateEventDto;
}

remove(id: number) {
Expand Down

0 comments on commit 6eb478f

Please sign in to comment.