Skip to content

Commit

Permalink
fix: logger.warning not logger.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
TBonnin committed Nov 5, 2024
1 parent 20ca570 commit 33c5aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/records/lib/models/records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export async function update({

const oldRecords = await getRecordsToUpdate({ records: chunk, connectionId, model, trx });
if (oldRecords.length === 0) {
logger.warn(`Did not find any record to update: ${{ connectionId, model }}`);
logger.warning(`Did not find any record to update: ${{ connectionId, model }}`);
}

const recordsToUpdate: FormattedRecord[] = [];
Expand Down

0 comments on commit 33c5aa0

Please # to comment.