Skip to content

Commit

Permalink
DC-3231 - add support for multiple enrolments for get conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
elabeca authored Mar 15, 2021
2 parents 9f30ce0 + a04fb5f commit 3d124a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Available locally here: http://localhost:9055/secure-message-frontend/api/schema

### License

This code is open source software licensed under the [Apache 2.0 License]("http://www.apache.org/licenses/LICENSE-2.0.html").
This code is open source software licensed under the [Apache 2.0 License]("http://www.apache.org/licenses/LICENSE-2.0.html").
3 changes: 1 addition & 2 deletions app/connectors/SecureMessageConnector.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ class SecureMessageConnector @Inject()(httpClient: HttpClient, servicesConfig: S
def getConversation(clientName: String, conversationId: String)(
implicit ec: ExecutionContext,
hc: HeaderCarrier): Future[Conversation] =
httpClient.GET[Conversation](
s"$secureMessageBaseUrl/secure-messaging/conversation/$clientName/$conversationId/HMRC-CUS-ORG/EORINumber")
httpClient.GET[Conversation](s"$secureMessageBaseUrl/secure-messaging/conversation/$clientName/$conversationId")

def recordReadTime(client: String, conversationId: String)(
implicit ec: ExecutionContext,
Expand Down

0 comments on commit 3d124a2

Please sign in to comment.