Skip to content

Commit 2aa5399

Browse files
authored
fix: return module exports from ioredis (#714)
1 parent 96bfebb commit 2aa5399

File tree

1 file changed

+1
-1
lines changed
  • packages/opentelemetry-plugin-ioredis/src

1 file changed

+1
-1
lines changed

packages/opentelemetry-plugin-ioredis/src/ioredis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class IORedisPlugin extends BasePlugin<typeof ioredisTypes> {
4444
this._patchConnection()
4545
);
4646

47-
return this._moduleExports.prototype;
47+
return this._moduleExports;
4848
}
4949

5050
protected unpatch(): void {

0 commit comments

Comments
 (0)