Skip to content

Commit 7c48ccd

Browse files
dragonpooludomikula
authored andcommitted
change the key name to the source of provider
1 parent 4123df4 commit 7c48ccd

File tree

1 file changed

+1
-1
lines changed
  • server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/user/service

1 file changed

+1
-1
lines changed

server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/user/service/UserServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ protected Map<String, Object> convertConnections(Set<Connection> connections) {
443443
return connections.stream()
444444
.filter(connection -> !AuthSourceConstants.EMAIL.equals(connection.getSource()) &&
445445
!AuthSourceConstants.PHONE.equals(connection.getSource()))
446-
.collect(Collectors.toMap(Connection::getAuthId, Connection::getRawUserInfo));
446+
.collect(Collectors.toMap(Connection::getSource, Connection::getRawUserInfo));
447447
}
448448

449449
protected String convertEmail(Set<Connection> connections) {

0 commit comments

Comments
 (0)