From fa0926256acc1d5aa9fa6c3e71987fa35af7a1b1 Mon Sep 17 00:00:00 2001 From: Fabio Pinheiro Date: Tue, 22 Aug 2023 12:24:56 +0100 Subject: [PATCH] fix: collectionName messages.outbound (#92) Signed-off-by: Fabio Pinheiro Signed-off-by: Shailesh Patil --- .../scala/io/iohk/atala/mediator/db/OutboxMessageRepo.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediator/src/main/scala/io/iohk/atala/mediator/db/OutboxMessageRepo.scala b/mediator/src/main/scala/io/iohk/atala/mediator/db/OutboxMessageRepo.scala index 8617a55c..2c83ca57 100644 --- a/mediator/src/main/scala/io/iohk/atala/mediator/db/OutboxMessageRepo.scala +++ b/mediator/src/main/scala/io/iohk/atala/mediator/db/OutboxMessageRepo.scala @@ -19,7 +19,7 @@ object OutboxMessageRepo { } class OutboxMessageRepo(reactiveMongoApi: ReactiveMongoApi)(using ec: ExecutionContext) { - def collectionName: String = "outbox" + def collectionName: String = "messages.outbound" def collection: IO[StorageCollection, BSONCollection] = reactiveMongoApi.database .map(_.collection(collectionName))