[DEBUG] wrong link

This commit is contained in:
Edouard DUPIN 2024-01-19 23:37:22 +01:00
parent 2b556bad4f
commit 05972126e7

View File

@ -263,7 +263,7 @@ public class ApplicationResource {
UserLinkApplication links = null;
try {
links = DataAccess.getWhere(UserLinkApplication.class,
new Condition(new QueryAnd(new QueryCondition("userId", "=", gc.userByToken.id), new QueryCondition("deleted", "=", 0), new QueryCondition("object2id", "=", appl.id))));
new Condition(new QueryAnd(new QueryCondition("object1id", "=", gc.userByToken.id), new QueryCondition("deleted", "=", 0), new QueryCondition("object2id", "=", appl.id))));
} catch (final Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();