Skip to content

Commit

Permalink
[MODAUD-174] - Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Nov 13, 2023
1 parent 7516c51 commit 90c5205
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Future<PieceAuditEventCollection> getAuditEventsByPieceId(String pieceId,
String query = format(GET_BY_PIECE_ID_SQL, logTable, logTable, format(ORDER_BY_PATTERN, sortBy, sortOrder));
Tuple queryParams = Tuple.of(UUID.fromString(pieceId), limit, offset);

pgClientFactory.createInstance(tenantId).selectRead(query, queryParams, promise);
pgClientFactory.createInstance(tenantId).select(query, queryParams, promise);
} catch (Exception e) {
LOGGER.warn("Error getting piece audit events by piece id: {}", pieceId, e);
promise.fail(e);
Expand Down

0 comments on commit 90c5205

Please sign in to comment.