Skip to content

Commit

Permalink
refactor: Update ParticipantsDTO example and type in participants.dto.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
PleBea committed Jul 15, 2024
1 parent a9da580 commit 7dd70bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/modules/location/dto/participants.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import { LocationDTO } from './update.dto';

export class ParticipantsDTO {
@ApiProperty({
example: '{lat: "33.511111", lng: "126.492778"}',
example: [
{
lat: '33.511111',
lng: '126.492778',
},
],
type: [LocationDTO],
})
@IsArray()
'userid': LocationDTO[];
Expand Down

0 comments on commit 7dd70bb

Please sign in to comment.