wip
This commit is contained in:
@@ -55,8 +55,8 @@ export class FileProtestUseCase {
|
||||
protestingDriverId: command.protestingDriverId,
|
||||
accusedDriverId: command.accusedDriverId,
|
||||
incident: command.incident,
|
||||
comment: command.comment,
|
||||
proofVideoUrl: command.proofVideoUrl,
|
||||
...(command.comment !== undefined ? { comment: command.comment } : {}),
|
||||
...(command.proofVideoUrl !== undefined ? { proofVideoUrl: command.proofVideoUrl } : {}),
|
||||
status: 'pending',
|
||||
filedAt: new Date(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user