mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Expose db to custom policy script
This commit is contained in:
parent
a400021a0d
commit
6b3f5ac8a6
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export class CustomPolicy implements NPolicy {
|
||||||
timeout: 5_000,
|
timeout: 5_000,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.policy = new Policy({ store, pubkey });
|
this.policy = new Policy({ db, store, pubkey });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue