Skip to content

Commit

Permalink
Merge branch 'feat/DTFS2-7049/new-external-gov-notify-api' of https:/…
Browse files Browse the repository at this point in the history
…/github.com/UK-Export-Finance/mdm-api into feat/DTFS2-7049/new-external-gov-notify-api
  • Loading branch information
avaitonis committed May 31, 2024
2 parents 9e2d28b + c14c735 commit 389ddf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/emails/emails.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class EmailsController {
@ApiOperation({
summary: 'Send email using GOV.UK Notify service',
})
@ApiBody({ type: [PostEmailsRequestDto] })
@ApiBody({ type: PostEmailsRequestDto })
@ApiCreatedResponse({
status: HttpStatus.CREATED,
description: 'Returns information about email transaction.',
Expand All @@ -48,7 +48,7 @@ export class EmailsController {
/**
* Verify request and send email
* @param {String} govUkNotifyKey
* @param {PostEmailsRequestItemDto[]} body
* @param {PostEmailsRequestDto} body
*
* @returns {Promise.<PostEmailsResponseDto>} GOV.UK Notify response
*
Expand Down

0 comments on commit 389ddf5

Please sign in to comment.