Skip to content

Commit d42e996

Browse files
committed
Add IOException declaration to processResetRequest
1 parent 9dec6c5 commit d42e996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

accounts/src/main/java/org/restheart/accounts/ForgotPasswordService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void handle(JsonRequest req, JsonResponse res) throws Exception {
112112
* Exceptions bubble up to {@link #handle} where they are caught and logged,
113113
* leaving the already-set 202 response intact.
114114
*/
115-
private void processResetRequest(JsonRequest req, String email, String dbName) {
115+
private void processResetRequest(JsonRequest req, String email, String dbName) throws java.io.IOException {
116116
// a. Locate user
117117
var userOpt = new DbHelper(mclient, dbName).findUser(email);
118118
if (userOpt.isEmpty()) {

0 commit comments

Comments
 (0)