mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 22:01:21 -06:00
removed invalid .bind call
This commit is contained in:
parent
d506dd2eff
commit
dce6c641ed
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class CustomStorageSettings extends StorageSettings {
|
|||
|
||||
// Hijack getTransaction to add locking
|
||||
const useLocking = this.locking;
|
||||
const nodeLocker = useLocking ? new NodeLocker(console.bind(console), this.lockTimeout) : null;
|
||||
const nodeLocker = useLocking ? new NodeLocker(console, this.lockTimeout) : null;
|
||||
this.getTransaction = async ({ path, write }) => {
|
||||
// console.log(`${write ? 'WRITE' : 'READ'} transaction requested for path "${path}"`)
|
||||
const transaction = await settings.getTransaction({ path, write });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue