Skip to content

Commit

Permalink
fix: Add logger to Client argument
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Jan 16, 2023
1 parent 00839b2 commit cc9c848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const createClient = (params: CreateClientParams): Client => {
const ws = new WsNativeImpl(config, serializer);

logger.debug('Masto.js initialised', config);
return new Client(http, ws, config);
return new Client(http, ws, config, logger);
};

export type LoginParams = Omit<
Expand Down

0 comments on commit cc9c848

Please sign in to comment.