Skip to content

Commit b41f9cd

Browse files
authored
Remove container argument from AbstractAuditTypeProvider.encodeForDataMap (#827)
1 parent 7b416aa commit b41f9cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DBUtils/src/org/labkey/dbutils/jooq/RecordListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ private void insertAuditMessageForRecord(OpType opType, Record record) {
155155

156156
// Set new record values
157157
JSONObject newRecordValues = RecordUtils.getJSON(record);
158-
event.setNewRecordMap(AbstractAuditTypeProvider.encodeForDataMap(container, newRecordValues.toMap()));
158+
event.setNewRecordMap(AbstractAuditTypeProvider.encodeForDataMap(newRecordValues.toMap()));
159159

160160
if (!opType.equals(OpType.INSERT) && mapToOriginalRecordValues.containsKey(record)) {
161161
Record oldRecord = mapToOriginalRecordValues.get(record);
162162
JSONObject oldRecordValues = RecordUtils.getJSON(oldRecord);
163-
event.setOldRecordMap(AbstractAuditTypeProvider.encodeForDataMap(container, oldRecordValues.toMap()));
163+
event.setOldRecordMap(AbstractAuditTypeProvider.encodeForDataMap(oldRecordValues.toMap()));
164164
mapToOriginalRecordValues.remove(record);
165165
}
166166

0 commit comments

Comments
 (0)