mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
storeMiddleware: remove as string
This commit is contained in:
parent
8902dc28c1
commit
25db277a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { eventsDB } from '@/storages.ts';
|
||||||
|
|
||||||
/** Store middleware. */
|
/** Store middleware. */
|
||||||
const storeMiddleware: AppMiddleware = async (c, next) => {
|
const storeMiddleware: AppMiddleware = async (c, next) => {
|
||||||
const pubkey = c.get('pubkey') as string;
|
const pubkey = c.get('pubkey');
|
||||||
|
|
||||||
if (pubkey) {
|
if (pubkey) {
|
||||||
const store = new UserStore(pubkey, eventsDB);
|
const store = new UserStore(pubkey, eventsDB);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue