Skip to content

Commit

Permalink
fix: Log correct query being used when finding authenticating entity
Browse files Browse the repository at this point in the history
  • Loading branch information
KidkArolis committed May 2, 2019
1 parent f54ad06 commit c50b365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication-local/src/strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class LocalStrategy extends AuthenticationBaseStrategy {
const findParams = Object.assign({}, params, { query });
const entityService = this.app.service(service);

debug('Finding entity with query', params.query);
debug('Finding entity with query', findParams.query);

const result = await entityService.find(findParams);
const list = Array.isArray(result) ? result : result.data;
Expand Down

0 comments on commit c50b365

Please sign in to comment.