grault commented on a change in pull request #715:
URL: https://github.com/apache/james-project/pull/715#discussion_r738186840



##########
File path: 
server/mailet/mock-smtp-server/src/main/java/org/apache/james/mock/smtp/server/HTTPConfigurationServer.java
##########
@@ -232,4 +242,17 @@ public RunningStage start() {
             return res.status(INTERNAL_SERVER_ERROR).send();
         }
     }
+
+    private Publisher<Void> getMailsCount(HttpServerRequest req, 
HttpServerResponse res) {
+        var count = receivedMailRepository.list().stream().count();

Review comment:
       Ahh, makes sense, I managed to miss this. Fixing.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to