Skip to content

Commit 93930a6

Browse files
Lint
1 parent 2199e25 commit 93930a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/database/src/api/internal.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ export const setSecurityDebugCallback = function (
6565
ref: Reference,
6666
callback: (a: object) => void
6767
) {
68+
const connection = ref._delegate._repo.persistentConnection_;
6869
// eslint-disable-next-line @typescript-eslint/no-explicit-any
69-
(ref._delegate._repo
70-
.persistentConnection_ as any).securityDebugCallback_ = callback;
70+
(connection as any).securityDebugCallback_ = callback;
7171
};
7272

7373
export const stats = function (ref: Reference, showDelta?: boolean) {

0 commit comments

Comments
 (0)