Skip to content

Commit

Permalink
Merge pull request #55 from virtualidentityag/develop
Browse files Browse the repository at this point in the history
merge to staging
  • Loading branch information
tkuzynow authored May 9, 2024
2 parents 875b3a3 + 508f9d0 commit e27ff41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Optional<Integer> insertTopicGroupIfNotExistsOrReturnExistingTopicGroup(S
log.info("Topic group inserted: " + groupName);
return Optional.of(consultingTypeJdbcTemplate.queryForObject(idQuery, Integer.class));
} else {
String sql = "SELECT topic_group_id FROM topic_group WHERE name = ?";
String sql = "SELECT id FROM topic_group WHERE name = ?";
Integer id = consultingTypeJdbcTemplate.queryForObject(sql, Integer.class, groupName);
return Optional.of(id);
}
Expand Down

0 comments on commit e27ff41

Please sign in to comment.