Skip to content

Commit

Permalink
fix clientId parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Sep 20, 2024
1 parent 0f57657 commit efc7c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/org/spin/model/MADAppRegistration.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static MADAppRegistration getByApplicationType(Properties ctx, String app
return definition;

definition = new Query(ctx, Table_Name , COLUMNNAME_ApplicationType + "=? AND AD_Client_ID IN(0, ?)", trxName)
.setParameters(applicationType)
.setParameters(applicationType, clientId)
.setOnlyActiveRecords(true)
.setOrderBy(COLUMNNAME_AD_Client_ID + " DESC")
.first()
Expand Down

0 comments on commit efc7c80

Please sign in to comment.