Skip to content

Commit

Permalink
fix: query
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Mar 4, 2024
1 parent a5d7aad commit 88539e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public static int deleteAllRolesForUser_Transaction(Connection con, Start start,

public static boolean deleteAllUserRoleAssociationsForRole(Start start, AppIdentifier appIdentifier, String role)
throws SQLException, StorageQueryException {
String QUERY = "DELETE FROM " + getConfig(start).getRolesTable()
String QUERY = "DELETE FROM " + getConfig(start).getUserRolesTable()
+ " WHERE app_id = ? AND role = ? ;";
return update(start, QUERY, pst -> {
pst.setString(1, appIdentifier.getAppId());
Expand Down

0 comments on commit 88539e5

Please sign in to comment.