Skip to content

Commit 9b9d01c

Browse files
committed
Adopt to changed AwaitKt utility.
Closes #2832
1 parent c6879a8 commit 9b9d01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private Object doInvokeReactiveToSuspended(Class<?> repositoryInterface, Reposit
181181
result = (Publisher<?>) collectToList(result);
182182
}
183183

184-
return AwaitKt.awaitSingleOrNull(result, continuation);
184+
return AwaitKt.awaitFirstOrNull(result, continuation);
185185
} catch (Exception e) {
186186
multicaster.notifyListeners(method, args, computeInvocationResult(invocationResultCaptor.error(e)));
187187
throw e;

0 commit comments

Comments
 (0)