Skip to content

Commit

Permalink
refactor: Add query parameter logging in AddressController's search m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
PleBea committed Jul 25, 2024
1 parent 55a2345 commit 7161bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/address/address.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class AddressController {
@ApiOperation({ summary: '주소 검색' })
@ApiOkResponse({ description: '주소 검색 성공', type: AddressResponseDTO })
async search(@Query('query') query: string): Promise<AddressResponseDTO> {
console.log('query', query);
return await this.addressService.getSimilarAddress(query);
}
}

0 comments on commit 7161bca

Please sign in to comment.