[FIX] wrong condition

This commit is contained in:
Edouard DUPIN 2024-01-18 23:48:06 +01:00
parent 7ce71f91d5
commit 251d544fc1

View File

@ -47,7 +47,7 @@ public class ApplicationResource {
final List<Long> out = new ArrayList<>();
List<UserLinkApplication> links = null;
try {
links = DataAccess.getsWhere(UserLinkApplication.class, new Condition(new QueryCondition("userId", "=", userId)));
links = DataAccess.getsWhere(UserLinkApplication.class, new Condition(new QueryCondition("object1id", "=", userId)));
} catch (final Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();