Skip to content

Commit

Permalink
Merge pull request #146 from 00sOrg/Fix/145
Browse files Browse the repository at this point in the history
🔨 [Fix] Fix create event api
  • Loading branch information
gitwub5 authored Sep 30, 2024
2 parents f626226 + 43fe4a1 commit 9195463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/events/dto/create-event.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class CreateEventDto {

toEvent(member: Member, mediaUrl?: string): Event {
const type =
this.type === EventType.NONE || EventType.OTHER
this.type === EventType.NONE || this.type === EventType.OTHER
? EventType.ACCIDENT
: this.type;
return new EventBuilder()
Expand Down

0 comments on commit 9195463

Please sign in to comment.