Skip to content

Commit

Permalink
Merge branch 'release/v2.26.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
DDZBX committed Oct 15, 2024
2 parents 56ad362 + 4771980 commit bdb3ef5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkedout-backend",
"version": "2.26.2",
"version": "2.26.3",
"license": "ISC",
"engines": {
"node": "18.x"
Expand Down
7 changes: 7 additions & 0 deletions src/user-profiles/user-profiles.service.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import fs from 'fs';
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/sequelize';
Expand Down Expand Up @@ -538,6 +539,12 @@ export class UserProfilesService {
],
},
],
logging: (sql, timing) => {
console.log('Recommendations SQL query:');
console.log(sql);
console.log(timing);
},
benchmark: true,
});

const sortedProfiles = _.orderBy(
Expand Down

0 comments on commit bdb3ef5

Please sign in to comment.